<template>
  <div class="page_root" :key="queryUpdateFlag" data-page-name="检查清单管理" data-page-identification="h_6gl9ftep61">
    <a-spin :spinning="pageLoading.loading" :tip="pageLoading.tip">
      <!-- begin vid_kg1vwvmfe2 审核标准 -->
      <a-modal
        class="vid_kg1vwvmfe2"
        v-model:visible="vid_kg1vwvmfe2_props.visible"
        :footer="null"
        :title="'审核标准'"
        :width="600"
        :maskClosable="false"
        :centered="true"
        @cancel="handle_vid_kg1vwvmfe2_cancel"
        @ok="handle_vid_kg1vwvmfe2_ok"
      >
        <!-- begin vid_p8x7d3kl4w For循环_v5mhwi5w3b -->
        <al-cycle
          v-if="vid_p8x7d3kl4w_props.dataSource?.length"
          class="vid_p8x7d3kl4w"
          v-model:dataSource="vid_p8x7d3kl4w_props.dataSource"
          v-model:current="vid_p8x7d3kl4w_props.current"
          v-model:currentIndex="vid_p8x7d3kl4w_props.currentIndex"
        >
          <template #default="vid_p8x7d3kl4w_dataItem">
            <!-- begin vid_hjp0nccbeg 简单文本_dxbw4klgot -->
            <span :data-cycle-index="vid_p8x7d3kl4w_dataItem.cycleIndex" class="vid_hjp0nccbeg">
              {{ renderStringInTemplate(vid_p8x7d3kl4w_dataItem.dataItem.assessorStandard) }}
            </span>
            <!-- end vid_hjp0nccbeg 简单文本_dxbw4klgot -->
          </template>
        </al-cycle>
        <!-- end vid_p8x7d3kl4w For循环_v5mhwi5w3b -->
      </a-modal>
      <!-- end vid_kg1vwvmfe2 审核标准 -->
      <!-- begin vid_8k457tsf68 全局提示_新建成功 -->
      <!-- end vid_8k457tsf68 全局提示_新建成功 -->
      <!-- begin vid_isa30wea4v 全局提示_删除成功 -->
      <!-- end vid_isa30wea4v 全局提示_删除成功 -->
      <!-- begin vid_d9aew7dpdy 全局提示_编辑成功 -->
      <!-- end vid_d9aew7dpdy 全局提示_编辑成功 -->
      <!-- begin vid_iurm9mmrsf 全局提示_新增项目阶段成功 -->
      <!-- end vid_iurm9mmrsf 全局提示_新增项目阶段成功 -->
      <!-- begin vid_xxdeqpwu5q 全局提示_新建失败 -->
      <!-- end vid_xxdeqpwu5q 全局提示_新建失败 -->
      <!-- begin vid_z4rzrzijcy 全局提示_删除失败 -->
      <!-- end vid_z4rzrzijcy 全局提示_删除失败 -->
      <!-- begin vid_400a984c5f 全局提示_编辑失败 -->
      <!-- end vid_400a984c5f 全局提示_编辑失败 -->
      <!-- begin vid_hgw3c7stdj 全局提示_新建项目阶段失败 -->
      <!-- end vid_hgw3c7stdj 全局提示_新建项目阶段失败 -->
      <!-- begin vid_e55vv2sjxj 删除 -->
      <a-modal
        class="vid_e55vv2sjxj"
        v-model:visible="vid_e55vv2sjxj_props.visible"
        :centered="true"
        :title="'删除'"
        :maskClosable="false"
        :width="320"
        @cancel="handle_vid_e55vv2sjxj_cancel"
        @ok="handle_vid_e55vv2sjxj_ok"
      >
        <!-- begin vid_763oh4audy 确认删除此内容？ -->
        <span class="vid_763oh4audy"> 确认删除此内容？ </span>
        <!-- end vid_763oh4audy 确认删除此内容？ -->
      </a-modal>
      <!-- end vid_e55vv2sjxj 删除 -->
      <!-- begin vid_ddjbavkhmg 编辑检查项 -->
      <a-modal
        class="vid_ddjbavkhmg"
        v-model:visible="vid_ddjbavkhmg_props.visible"
        :centered="true"
        :title="'编辑检查项'"
        :maskClosable="false"
        :okText="'保存'"
        @cancel="handle_vid_ddjbavkhmg_cancel"
        @ok="handle_vid_ddjbavkhmg_ok"
      >
        <!-- begin vid_54bdtnjr27 表单容器_编辑检查项 -->
        <a-form ref="vid_54bdtnjr27_ref" class="vid_54bdtnjr27" :model="c_a0ug83mxb9" :formModel="vid_54bdtnjr27_props.formModel">
          <!-- begin vid_6xz3x0yerx 表单项容器_15eyj54e4k -->
          <a-form-item name="b_u92u01625c" :rules="c_a0ug83mxb9_rules[`b_u92u01625c`]" class="vid_6xz3x0yerx" :label-col='{"span":4}' :wrapper-col='{"span":20}'>
            <!-- begin vid_7q9e6sudx3 编辑_项目阶段_projectPhaseName -->
            <a-select
              class="vid_7q9e6sudx3"
              :getPopupContainer="(node) => node.parentNode"
              v-model:value="c_a0ug83mxb9.b_u92u01625c"
              :showArrow="true"
              :filterOption="false"
              :dropdownMatchSelectWidth="true"
              :searchValue="vid_7q9e6sudx3_props.searchValue"
              :selected="vid_7q9e6sudx3_props.selected"
              :options="vid_7q9e6sudx3_options()"
              @change="handle_vid_7q9e6sudx3_change"
              @search="handle_vid_7q9e6sudx3_search"
            >
            </a-select>
            <!-- end vid_7q9e6sudx3 编辑_项目阶段_projectPhaseName -->
            <template #label>
              <!-- begin vid_lzk1u25ryu 项目阶段 -->
              <span class="vid_lzk1u25ryu"> 项目阶段 </span>
              <!-- end vid_lzk1u25ryu 项目阶段 -->
            </template>
          </a-form-item>
          <!-- end vid_6xz3x0yerx 表单项容器_15eyj54e4k -->
          <!-- begin vid_up2yul7i58 表单项容器_t8y1e82607 -->
          <a-form-item name="z_6rdlf569kh" :rules="c_a0ug83mxb9_rules[`z_6rdlf569kh`]" class="vid_up2yul7i58" :label-col='{"span":4}' :wrapper-col='{"span":20}'>
            <!-- begin vid_4356iqyj6d 编辑_角色_checkCastingName -->
            <a-select
              class="vid_4356iqyj6d"
              :getPopupContainer="(node) => node.parentNode"
              v-model:value="c_a0ug83mxb9.z_6rdlf569kh"
              :showArrow="true"
              :filterOption="false"
              :dropdownMatchSelectWidth="true"
              :searchValue="vid_4356iqyj6d_props.searchValue"
              :selected="vid_4356iqyj6d_props.selected"
              :options="vid_4356iqyj6d_options()"
              @change="handle_vid_4356iqyj6d_change"
              @search="handle_vid_4356iqyj6d_search"
            >
            </a-select>
            <!-- end vid_4356iqyj6d 编辑_角色_checkCastingName -->
            <template #label>
              <!-- begin vid_k2avak01sl 部门 -->
              <span class="vid_k2avak01sl"> 部门 </span>
              <!-- end vid_k2avak01sl 部门 -->
            </template>
          </a-form-item>
          <!-- end vid_up2yul7i58 表单项容器_t8y1e82607 -->
          <!-- begin vid_sf5g7ywj7a 表单项容器_v2jf9aou03 -->
          <a-form-item name="x_6fm7c5n406" :rules="c_a0ug83mxb9_rules[`x_6fm7c5n406`]" class="vid_sf5g7ywj7a" :label-col='{"span":4}' :wrapper-col='{"span":20}'>
            <!-- begin vid_1l4gt607tg 编辑_检查项_checkEntry -->
            <a-input autocomplete="off" class="vid_1l4gt607tg" v-model:value="c_a0ug83mxb9.x_6fm7c5n406" :placeholder="'请输入'"> </a-input>
            <!-- end vid_1l4gt607tg 编辑_检查项_checkEntry -->
            <template #label>
              <!-- begin vid_y82p2egbmi 检查项 -->
              <span class="vid_y82p2egbmi"> 检查项 </span>
              <!-- end vid_y82p2egbmi 检查项 -->
            </template>
          </a-form-item>
          <!-- end vid_sf5g7ywj7a 表单项容器_v2jf9aou03 -->
        </a-form>
        <!-- end vid_54bdtnjr27 表单容器_编辑检查项 -->
      </a-modal>
      <!-- end vid_ddjbavkhmg 编辑检查项 -->
      <!-- begin vid_pigah55qkg 新建检查项 -->
      <a-modal
        class="vid_pigah55qkg"
        v-model:visible="vid_pigah55qkg_props.visible"
        :centered="true"
        :title="'新建检查项'"
        :maskClosable="false"
        :width="800"
        @cancel="handle_vid_pigah55qkg_cancel"
        @ok="handle_vid_pigah55qkg_ok"
      >
        <!-- begin vid_09oyeltabw 表单容器_476j4jlapj -->
        <a-form ref="vid_09oyeltabw_ref" class="vid_09oyeltabw" :model="r_o4qgx6bmyj" :formModel="vid_09oyeltabw_props.formModel">
          <!-- begin vid_28nq1b2smm 表单项容器_q4zkvjqeyy -->
          <a-form-item name="o_4ks6lzgiaz" :rules="r_o4qgx6bmyj_rules[`o_4ks6lzgiaz`]" class="vid_28nq1b2smm" :label-col='{"span":24}' :wrapper-col='{"span":24}'>
            <!-- begin vid_ymqc3nadzc 新建检查项-动作列表 -->
            <al-action-list
              data-field-key="o_4ks6lzgiaz"
              ref="vid_ymqc3nadzc_ref"
              class="vid_ymqc3nadzc"
              v-model:dataSource="r_o4qgx6bmyj.o_4ks6lzgiaz"
              v-model:extendDataSource="vid_ymqc3nadzc_props.dataSource"
              v-model:current="vid_ymqc3nadzc_props.current"
              v-model:currentIndex="vid_ymqc3nadzc_props.currentIndex"
            >
              <template #default="vid_ymqc3nadzc_dataItem">
                <!-- begin vid_m7hyor1trq 新建检查项_ppmChecklistList -->
                <a-row :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex" class="vid_m7hyor1trq">
                  <a-col :span="8">
                    <!-- begin vid_sq95etk7fu 表单项容器_yb3zipjizk -->
                    <a-form-item
                      :name="setSubFormName(vid_ymqc3nadzc_dataItem,`projectPhaseId`)"
                      :rules="r_o4qgx6bmyj_rules[`projectPhaseId`]"
                      :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex"
                      class="vid_sq95etk7fu"
                      :label-col='{"span":24}'
                      :wrapper-col='{"span":24}'
                    >
                      <!-- begin vid_7wwdr27l5x 项目阶段_projectPhaseName -->
                      <a-select
                        :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex"
                        class="vid_7wwdr27l5x"
                        :getPopupContainer="(node) => node.parentNode"
                        v-model:value="vid_ymqc3nadzc_dataItem.dataItem.projectPhaseId"
                        :showArrow="true"
                        :filterOption="false"
                        :dropdownMatchSelectWidth="true"
                        :searchValue="vid_7wwdr27l5x_props.searchValue"
                        :selected="vid_7wwdr27l5x_props.selected"
                        :options="vid_7wwdr27l5x_options()"
                        @change="handle_vid_7wwdr27l5x_change"
                        @search="handle_vid_7wwdr27l5x_search"
                      >
                      </a-select>
                      <!-- end vid_7wwdr27l5x 项目阶段_projectPhaseName -->
                      <template #label>
                        <!-- begin vid_q1dxz3koql 简单文本_cjgz2pbh1z -->
                        <span :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex" class="vid_q1dxz3koql"> 项目阶段 </span>
                        <!-- end vid_q1dxz3koql 简单文本_cjgz2pbh1z -->
                      </template>
                    </a-form-item>
                    <!-- end vid_sq95etk7fu 表单项容器_yb3zipjizk -->
                  </a-col>
                  <a-col :span="8">
                    <!-- begin vid_btvwfs6gzn 表单项容器_i9nx8v4rwd -->
                    <a-form-item
                      :name="setSubFormName(vid_ymqc3nadzc_dataItem,`checkCastingId`)"
                      :rules="r_o4qgx6bmyj_rules[`checkCastingId`]"
                      :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex"
                      class="vid_btvwfs6gzn"
                      :label-col='{"span":24}'
                      :wrapper-col='{"span":24}'
                    >
                      <!-- begin vid_y9392nh2cx 角色_checkCastingName -->
                      <a-select
                        :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex"
                        class="vid_y9392nh2cx"
                        :getPopupContainer="(node) => node.parentNode"
                        v-model:value="vid_ymqc3nadzc_dataItem.dataItem.checkCastingId"
                        :showArrow="true"
                        :filterOption="false"
                        :dropdownMatchSelectWidth="true"
                        :searchValue="vid_y9392nh2cx_props.searchValue"
                        :selected="vid_y9392nh2cx_props.selected"
                        :options="vid_y9392nh2cx_options()"
                        @change="handle_vid_y9392nh2cx_change"
                        @search="handle_vid_y9392nh2cx_search"
                      >
                      </a-select>
                      <!-- end vid_y9392nh2cx 角色_checkCastingName -->
                      <template #label>
                        <!-- begin vid_lxtvepuqnk 部门 -->
                        <span :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex" class="vid_lxtvepuqnk"> 部门 </span>
                        <!-- end vid_lxtvepuqnk 部门 -->
                      </template>
                    </a-form-item>
                    <!-- end vid_btvwfs6gzn 表单项容器_i9nx8v4rwd -->
                  </a-col>
                  <a-col :span="8">
                    <!-- begin vid_lq4cdlxtwl 表单项容器_11m94sxtlb -->
                    <a-form-item
                      :name="setSubFormName(vid_ymqc3nadzc_dataItem,`checkEntry`)"
                      :rules="r_o4qgx6bmyj_rules[`checkEntry`]"
                      :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex"
                      class="vid_lq4cdlxtwl"
                      :label-col='{"span":24}'
                      :wrapper-col='{"span":24}'
                    >
                      <!-- begin vid_bi2ptygamn 检查项_checkEntry -->
                      <a-input
                        autocomplete="off"
                        :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex"
                        class="vid_bi2ptygamn"
                        v-model:value="vid_ymqc3nadzc_dataItem.dataItem.checkEntry"
                        :maxlength="200"
                        :placeholder="'请输入'"
                      >
                      </a-input>
                      <!-- end vid_bi2ptygamn 检查项_checkEntry -->
                      <template #label>
                        <!-- begin vid_xmklhis2cv 简单文本_pkbj9m5mqs -->
                        <span :data-cycle-index="vid_ymqc3nadzc_dataItem.cycleIndex" class="vid_xmklhis2cv"> 检查项 </span>
                        <!-- end vid_xmklhis2cv 简单文本_pkbj9m5mqs -->
                      </template>
                    </a-form-item>
                    <!-- end vid_lq4cdlxtwl 表单项容器_11m94sxtlb -->
                  </a-col>
                </a-row>
                <!-- end vid_m7hyor1trq 新建检查项_ppmChecklistList -->
              </template>
            </al-action-list>
            <!-- end vid_ymqc3nadzc 新建检查项-动作列表 -->
          </a-form-item>
          <!-- end vid_28nq1b2smm 表单项容器_q4zkvjqeyy -->
        </a-form>
        <!-- end vid_09oyeltabw 表单容器_476j4jlapj -->
      </a-modal>
      <!-- end vid_pigah55qkg 新建检查项 -->
      <!-- begin vid_lrxsz8ple6 项目阶段 -->
      <a-modal
        class="vid_lrxsz8ple6"
        v-model:visible="vid_lrxsz8ple6_props.visible"
        :centered="true"
        :title="'项目阶段'"
        :maskClosable="false"
        :width="800"
        @cancel="handle_vid_lrxsz8ple6_cancel"
        @ok="handle_vid_lrxsz8ple6_ok"
      >
        <!-- begin vid_7ga0lfzt6d 容器_rp263wq0fu -->
        <al-box class="vid_7ga0lfzt6d">
          <!-- begin vid_pbzqm0whoi 表单容器_j36xtulq1f -->
          <a-form ref="vid_pbzqm0whoi_ref" class="vid_pbzqm0whoi" :model="m_bxh08awsmu" :formModel="vid_pbzqm0whoi_props.formModel">
            <!-- begin vid_5oj0bccjlf 表单项容器_y7mrfl26bd -->
            <a-form-item name="f_kmp3rkg2wt" :rules="m_bxh08awsmu_rules[`f_kmp3rkg2wt`]" class="vid_5oj0bccjlf" :label-col='{"span":24}' :wrapper-col='{"span":24}'>
              <!-- begin vid_xxlqbpuyg8 项目阶段-动作列表 -->
              <al-action-list
                data-field-key="f_kmp3rkg2wt"
                class="vid_xxlqbpuyg8"
                v-model:dataSource="m_bxh08awsmu.f_kmp3rkg2wt"
                v-model:extendDataSource="vid_xxlqbpuyg8_props.dataSource"
                v-model:current="vid_xxlqbpuyg8_props.current"
                v-model:currentIndex="vid_xxlqbpuyg8_props.currentIndex"
                @delete="handle_vid_xxlqbpuyg8_delete"
              >
                <template #default="vid_xxlqbpuyg8_dataItem">
                  <!-- begin vid_k95gy8t3d1 布局容器_nixjowulbc -->
                  <a-row :data-cycle-index="vid_xxlqbpuyg8_dataItem.cycleIndex" class="vid_k95gy8t3d1" :slots="'12:12'">
                    <a-col :span="12">
                      <!-- begin vid_d8hn58zxa7 表单项容器_wg1z1u1t87 -->
                      <a-form-item
                        :name="setSubFormName(vid_xxlqbpuyg8_dataItem,`projectPhaseName`)"
                        :rules="m_bxh08awsmu_rules[`projectPhaseName`]"
                        :data-cycle-index="vid_xxlqbpuyg8_dataItem.cycleIndex"
                        class="vid_d8hn58zxa7"
                        :label-col='{"span":6}'
                        :wrapper-col='{"span":18}'
                      >
                        <!-- begin vid_ba3q4ioj8b 输入框_pckltr4f4j -->
                        <a-input autocomplete="off" :data-cycle-index="vid_xxlqbpuyg8_dataItem.cycleIndex" class="vid_ba3q4ioj8b" v-model:value="vid_xxlqbpuyg8_dataItem.dataItem.projectPhaseName">
                        </a-input>
                        <!-- end vid_ba3q4ioj8b 输入框_pckltr4f4j -->
                        <template #label>
                          <!-- begin vid_jheb06tq01 项目阶段 -->
                          <span :data-cycle-index="vid_xxlqbpuyg8_dataItem.cycleIndex" class="vid_jheb06tq01"> 项目阶段 </span>
                          <!-- end vid_jheb06tq01 项目阶段 -->
                        </template>
                      </a-form-item>
                      <!-- end vid_d8hn58zxa7 表单项容器_wg1z1u1t87 -->
                    </a-col>
                    <a-col :span="12">
                      <!-- begin vid_x3v0agbx8s 表单项容器_a7f07fcfnf -->
                      <a-form-item
                        :name="setSubFormName(vid_xxlqbpuyg8_dataItem,`serialNumber`)"
                        :rules="m_bxh08awsmu_rules[`serialNumber`]"
                        :data-cycle-index="vid_xxlqbpuyg8_dataItem.cycleIndex"
                        class="vid_x3v0agbx8s"
                        :label-col='{"span":6}'
                        :wrapper-col='{"span":18}'
                      >
                        <!-- begin vid_ig1ox7d11w 数字输入框_xo8ni2krci -->
                        <a-input-number :data-cycle-index="vid_xxlqbpuyg8_dataItem.cycleIndex" class="vid_ig1ox7d11w" v-model:value="vid_xxlqbpuyg8_dataItem.dataItem.serialNumber"> </a-input-number>
                        <!-- end vid_ig1ox7d11w 数字输入框_xo8ni2krci -->
                        <template #label>
                          <!-- begin vid_6erfpt4nqq 排序 -->
                          <span :data-cycle-index="vid_xxlqbpuyg8_dataItem.cycleIndex" class="vid_6erfpt4nqq"> 排序 </span>
                          <!-- end vid_6erfpt4nqq 排序 -->
                        </template>
                      </a-form-item>
                      <!-- end vid_x3v0agbx8s 表单项容器_a7f07fcfnf -->
                    </a-col>
                  </a-row>
                  <!-- end vid_k95gy8t3d1 布局容器_nixjowulbc -->
                </template>
              </al-action-list>
              <!-- end vid_xxlqbpuyg8 项目阶段-动作列表 -->
            </a-form-item>
            <!-- end vid_5oj0bccjlf 表单项容器_y7mrfl26bd -->
          </a-form>
          <!-- end vid_pbzqm0whoi 表单容器_j36xtulq1f -->
        </al-box>
        <!-- end vid_7ga0lfzt6d 容器_rp263wq0fu -->
      </a-modal>
      <!-- end vid_lrxsz8ple6 项目阶段 -->
      <!-- begin vid_352t3vt2nj 标签页_ncyrodfqun -->
      <a-tabs class="vid_352t3vt2nj" v-model:activeKey="vid_352t3vt2nj_props.activeKey" :size="'large'">
        <template #leftExtra> </template>
        <template #rightExtra> </template>
        <a-tab-pane key="Tab1" force-render>
          <template #tab> 通用项目 </template>
          <!-- begin vid_n73tp3xny9 布局容器_mpxdr083iz -->
          <a-row class="vid_n73tp3xny9" :gutter="null" :slots="'4:20'">
            <a-col :span="4">
              <!-- begin vid_0i3ebli2z1 容器_unzra7w800 -->
              <al-box class="vid_0i3ebli2z1">
                <!-- begin vid_ef03xkrkgh 容器_c2l9ijgi3e -->
                <al-box class="vid_ef03xkrkgh">
                  <!-- begin vid_ja4nmzygrg 输入框_gbk1ofbgd1 -->
                  <a-input autocomplete="off" class="vid_ja4nmzygrg" v-model:value="vid_ja4nmzygrg_props.value" :placeholder="'请输入关键词查询'" :allowClear="true">
                    <template #suffix
                      ><span role="img" class="anticon"
                        ><embed
                          style="width: 1em;height:1em;"
                          src="" /></span
                    ></template>
                  </a-input>
                  <!-- end vid_ja4nmzygrg 输入框_gbk1ofbgd1 -->
                </al-box>
                <!-- end vid_ef03xkrkgh 容器_c2l9ijgi3e -->
                <!-- begin vid_1s9iauqlm3 容器_mfnl0gwfs2 -->
                <al-box class="vid_1s9iauqlm3">
                  <!-- begin vid_suuil4h48d 树形控件_y6gkyotoy4 -->
                  <al-tree-extend
                    class="vid_suuil4h48d"
                    v-model:checkedKeys="vid_suuil4h48d_props.checkedKeys"
                    v-model:selectedKeys="vid_suuil4h48d_props.selectedKeys"
                    v-model:expandedKeys="vid_suuil4h48d_props.expandedKeys"
                    :selectedBackgroundColor="'#EBF1FF'"
                    :backgroundColor="'#F5F5F5'"
                    :lazyParams="vid_suuil4h48d_props.lazyParams"
                    :clickNode="vid_suuil4h48d_props.clickNode"
                    :selected="vid_suuil4h48d_props.selected"
                    :treeData="vid_suuil4h48d_options()"
                    @select="handle_vid_suuil4h48d_select"
                    :style="vid_suuil4h48d_style"
                  >
                  </al-tree-extend>
                  <!-- end vid_suuil4h48d 树形控件_y6gkyotoy4 -->
                </al-box>
                <!-- end vid_1s9iauqlm3 容器_mfnl0gwfs2 -->
              </al-box>
              <!-- end vid_0i3ebli2z1 容器_unzra7w800 -->
            </a-col>
            <a-col :span="20">
              <!-- begin vid_d5prqg7c16 容器_7t5x78g0m9 -->
              <al-box class="vid_d5prqg7c16">
                <!-- begin vid_fax4o6qk1f 表单容器_x3zh844qp3 -->
                <a-form ref="vid_fax4o6qk1f_ref" class="vid_fax4o6qk1f" :model="y_394qp8081f" :formModel="vid_fax4o6qk1f_props.formModel">
                  <!-- begin vid_62qmzoww27 布局容器_线索筛选 -->
                  <a-row class="vid_62qmzoww27" :slots="'6:6:6:6'">
                    <a-col :span="6">
                      <!-- begin vid_g3fq9j1uaa 表单项容器_f6s8nvx77r -->
                      <a-form-item name="q_mz6by1rasv" :rules="y_394qp8081f_rules[`q_mz6by1rasv`]" class="vid_g3fq9j1uaa" :label-col='{"span":6}' :wrapper-col='{"span":18}'>
                        <!-- begin vid_4sd3aumapx 筛选下拉框_projectPhaseName_项目阶段 -->
                        <a-select
                          class="vid_4sd3aumapx"
                          :getPopupContainer="(node) => node.parentNode"
                          v-model:value="y_394qp8081f.q_mz6by1rasv"
                          :showArrow="true"
                          :filterOption="false"
                          :dropdownMatchSelectWidth="true"
                          :placeholder="'请选择'"
                          :allowClear="true"
                          :searchValue="vid_4sd3aumapx_props.searchValue"
                          :selected="vid_4sd3aumapx_props.selected"
                          :options="vid_4sd3aumapx_options()"
                          @change="handle_vid_4sd3aumapx_change"
                          @search="handle_vid_4sd3aumapx_search"
                        >
                        </a-select>
                        <!-- end vid_4sd3aumapx 筛选下拉框_projectPhaseName_项目阶段 -->
                        <template #label>
                          <!-- begin vid_na3ou0s64q 项目阶段 -->
                          <span class="vid_na3ou0s64q"> 项目阶段 </span>
                          <!-- end vid_na3ou0s64q 项目阶段 -->
                        </template>
                      </a-form-item>
                      <!-- end vid_g3fq9j1uaa 表单项容器_f6s8nvx77r -->
                    </a-col>
                    <a-col :span="6">
                      <!-- begin vid_x2rxfdv73k 查询 -->
                      <a-button class="vid_x2rxfdv73k" :type="'primary'" @click="handle_vid_x2rxfdv73k_click"> 查询 </a-button>
                      <!-- end vid_x2rxfdv73k 查询 -->
                      <!-- begin vid_w9e87c5ftm 重置 -->
                      <a-button class="vid_w9e87c5ftm" @click="handle_vid_w9e87c5ftm_click"> 重置 </a-button>
                      <!-- end vid_w9e87c5ftm 重置 -->
                      <!-- begin vid_62m701d730 导入 -->
                      <a-button v-if="false" class="vid_62m701d730"> 导入 </a-button>
                      <!-- end vid_62m701d730 导入 -->
                    </a-col>
                    <a-col :span="6">
                      <!-- begin vid_xy84d40o93 容器_pr2ntx2hu8 -->
                      <al-box class="vid_xy84d40o93">
                        <!-- begin vid_bbzq0galb3 表单项容器_jl3fzi2y98 -->
                        <a-form-item name="o_hpzp036oud" :rules="y_394qp8081f_rules[`o_hpzp036oud`]" v-if="false" class="vid_bbzq0galb3" :label-col='{"span":4}' :wrapper-col='{"span":20}'>
                          <!-- begin vid_hjfar9hawx 筛选下拉框_checkCastingName_角色 -->
                          <a-select
                            class="vid_hjfar9hawx"
                            :getPopupContainer="(node) => node.parentNode"
                            v-model:value="y_394qp8081f.o_hpzp036oud"
                            :showArrow="true"
                            :filterOption="false"
                            :dropdownMatchSelectWidth="true"
                            :placeholder="'请选择'"
                            :allowClear="true"
                            :searchValue="vid_hjfar9hawx_props.searchValue"
                            :selected="vid_hjfar9hawx_props.selected"
                            :options="vid_hjfar9hawx_options()"
                            @change="handle_vid_hjfar9hawx_change"
                            @search="handle_vid_hjfar9hawx_search"
                          >
                          </a-select>
                          <!-- end vid_hjfar9hawx 筛选下拉框_checkCastingName_角色 -->
                          <template #label>
                            <!-- begin vid_0slfioq5p7 部门 -->
                            <span class="vid_0slfioq5p7"> 部门 </span>
                            <!-- end vid_0slfioq5p7 部门 -->
                          </template>
                        </a-form-item>
                        <!-- end vid_bbzq0galb3 表单项容器_jl3fzi2y98 -->
                      </al-box>
                      <!-- end vid_xy84d40o93 容器_pr2ntx2hu8 -->
                    </a-col>
                    <a-col :span="6">
                      <!-- begin vid_ozsfdqofi2 容器_75kizjwgd8 -->
                      <al-box class="vid_ozsfdqofi2">
                        <!-- begin vid_qmenr57old 新建 -->
                        <a-button v-if="false" class="vid_qmenr57old" @click="handle_vid_qmenr57old_click"> 新建 </a-button>
                        <!-- end vid_qmenr57old 新建 -->
                        <!-- begin vid_eafpxm3q82 项目阶段维护 -->
                        <a-button class="vid_eafpxm3q82" :type="'primary'" @click="handle_vid_eafpxm3q82_click"> 项目阶段维护 </a-button>
                        <!-- end vid_eafpxm3q82 项目阶段维护 -->
                      </al-box>
                      <!-- end vid_ozsfdqofi2 容器_75kizjwgd8 -->
                    </a-col>
                  </a-row>
                  <!-- end vid_62qmzoww27 布局容器_线索筛选 -->
                </a-form>
                <!-- end vid_fax4o6qk1f 表单容器_x3zh844qp3 -->
                <!-- begin vid_l2pba449np 容器_ezkj0hrn6t -->
                <al-box class="vid_l2pba449np">
                  <!-- begin vid_wd2r1saxfr 表格_3he4hrjd0l -->
                  <!-- 表格_3he4hrjd0l -->
                  <a-table
                    class="vid_wd2r1saxfr"
                    :totalNumber="vid_wd2r1saxfr_props.totalNumber"
                    :bordered="true"
                    :editRowSaveLoading="vid_wd2r1saxfr_props.editRowSaveLoading"
                    :sorter="vid_wd2r1saxfr_props.sorter"
                    :currentRow="vid_wd2r1saxfr_props.currentRow"
                    :selectedRowList="vid_wd2r1saxfr_props.selectedRowList"
                    :data-source="vid_wd2r1saxfr_options()"
                    @change="handle_vid_wd2r1saxfr_change"
                    :columns="vid_wd2r1saxfr_columns"
                    :pagination="vid_wd2r1saxfr_pagination"
                    row-key="id"
                    @resizeColumn="(w, col) => handleResizeColumn(w, col, 'vid_wd2r1saxfr')"
                    sticky
                    :scroll="{ x: 'max-content', scrollToFirstRowOnChange: true, }"
                    :row-class-name="(_record, index) => (index % 2 === 1 ? 'table-striped-even' : 'table-striped-odd')"
                  >
                    <template #headerCell="{ title, column }">
                      <TableHeaderCell :title="title" :column="column" />
                    </template>
                    <template #bodyCell="{ text, column, record, index }">
                      <!-- 操作列 -->
                      <div v-if="column.dataIndex === 'vid_wd2r1saxfr_operation'" class="operation-cell">
                        <!-- 默认分组 -->
                        <span>
                          <a-button type="link" @click="handle_vid_wd2r1saxfr_clickBtn_tdgmgimmsf(record)">详情</a-button>
                          <a-button type="link" @click="handle_vid_wd2r1saxfr_clickBtn_j2v839jycl(record)">删除</a-button>
                        </span>
                      </div>

                      <!-- 序号列 -->
                      <template v-if="column && column.dataIndex === 'vid_wd2r1saxfr_serialNumber'">
                        {{ index + 1 }}
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"项目阶段"} 列内容 -->
                      <template v-if="column.dataIndex === 'projectPhaseName' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_wd2r1saxfr_props.boundaryValueMap"
                          :dataSource="vid_wd2r1saxfr_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"部门"} 列内容 -->
                      <template v-if="column.dataIndex === 'checkCastingName' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_wd2r1saxfr_props.boundaryValueMap"
                          :dataSource="vid_wd2r1saxfr_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"检查项"} 列内容 -->
                      <template v-if="column.dataIndex === 'checkEntry' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_wd2r1saxfr_props.boundaryValueMap"
                          :dataSource="vid_wd2r1saxfr_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"添加时间"} 列内容 -->
                      <template v-if="column.dataIndex === 'createTime' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_wd2r1saxfr_props.boundaryValueMap"
                          :dataSource="vid_wd2r1saxfr_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"最近更新时间"} 列内容 -->
                      <template v-if="column.dataIndex === 'updateTime' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_wd2r1saxfr_props.boundaryValueMap"
                          :dataSource="vid_wd2r1saxfr_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"id"} 列内容 -->
                      <template v-if="column.dataIndex === 'checkEntryId' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_wd2r1saxfr_props.boundaryValueMap"
                          :dataSource="vid_wd2r1saxfr_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"排序"} 列内容 -->
                      <template v-if="column.dataIndex === 'serialNumber' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_wd2r1saxfr_props.boundaryValueMap"
                          :dataSource="vid_wd2r1saxfr_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"projectPhaseId"} 列内容 -->
                      <template v-if="column.dataIndex === 'projectPhaseId' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_wd2r1saxfr_props.boundaryValueMap"
                          :dataSource="vid_wd2r1saxfr_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                    </template>
                  </a-table>
                  <!-- end vid_wd2r1saxfr 表格_3he4hrjd0l -->
                </al-box>
                <!-- end vid_l2pba449np 容器_ezkj0hrn6t -->
              </al-box>
              <!-- end vid_d5prqg7c16 容器_7t5x78g0m9 -->
            </a-col>
          </a-row>
          <!-- end vid_n73tp3xny9 布局容器_mpxdr083iz -->
        </a-tab-pane>
        <a-tab-pane key="Tab2" force-render>
          <template #tab> 模板项目 </template>
          <!-- begin vid_8rdk0vgx99 布局容器_1zc7j29df2 -->
          <a-row class="vid_8rdk0vgx99" :gutter="null" :slots="'4:20'">
            <a-col :span="4">
              <!-- begin vid_pt8gnmhpop 容器_29kxrjkjks -->
              <al-box class="vid_pt8gnmhpop">
                <!-- begin vid_lzkca7qnvh 容器_ky1alagy5c -->
                <al-box class="vid_lzkca7qnvh">
                  <!-- begin vid_nbb1aplepq name输入框_oh6xhk7jyr -->
                  <a-input
                    autocomplete="off"
                    class="vid_nbb1aplepq"
                    v-model:value="vid_nbb1aplepq_props.value"
                    :placeholder="'请输入关键词查询'"
                    :allowClear="true"
                    @change="handle_vid_nbb1aplepq_change"
                  >
                    <template #suffix
                      ><span role="img" class="anticon"
                        ><embed
                          style="width: 1em;height:1em;"
                          src="" /></span
                    ></template>
                  </a-input>
                  <!-- end vid_nbb1aplepq name输入框_oh6xhk7jyr -->
                </al-box>
                <!-- end vid_lzkca7qnvh 容器_ky1alagy5c -->
                <!-- begin vid_uipgvga3ze 容器_2v992gnxp7 -->
                <al-box class="vid_uipgvga3ze">
                  <!-- begin vid_h44ml6bbeu 树形控件_usbgmzbh2o -->
                  <al-tree-extend
                    class="vid_h44ml6bbeu"
                    v-model:checkedKeys="vid_h44ml6bbeu_props.checkedKeys"
                    v-model:selectedKeys="vid_h44ml6bbeu_props.selectedKeys"
                    v-model:expandedKeys="vid_h44ml6bbeu_props.expandedKeys"
                    :fieldNames="{'children':'children','title':'name','key':'id'}"
                    :selectedBackgroundColor="'#EBF1FF'"
                    :backgroundColor="'#F5F5F5'"
                    :lazyParams="vid_h44ml6bbeu_props.lazyParams"
                    :clickNode="vid_h44ml6bbeu_props.clickNode"
                    :selected="vid_h44ml6bbeu_props.selected"
                    :treeData="vid_h44ml6bbeu_options()"
                    @select="handle_vid_h44ml6bbeu_select"
                    :style="vid_h44ml6bbeu_style"
                  >
                  </al-tree-extend>
                  <!-- end vid_h44ml6bbeu 树形控件_usbgmzbh2o -->
                </al-box>
                <!-- end vid_uipgvga3ze 容器_2v992gnxp7 -->
              </al-box>
              <!-- end vid_pt8gnmhpop 容器_29kxrjkjks -->
            </a-col>
            <a-col :span="20">
              <!-- begin vid_spw6r77wtp 容器_r02zloi700 -->
              <al-box class="vid_spw6r77wtp">
                <!-- begin vid_oq7irv2rjs 表单容器_wrqblo1r7w -->
                <a-form ref="vid_oq7irv2rjs_ref" class="vid_oq7irv2rjs" :model="k_53yicmgf55" :formModel="vid_oq7irv2rjs_props.formModel">
                  <!-- begin vid_o7wqm5fste 布局容器_zcel4s0c5e -->
                  <a-row class="vid_o7wqm5fste" :slots="'6:6:6:6'">
                    <a-col :span="6">
                      <!-- begin vid_283mdstx5n 表单项容器_2hfs4b1g2y -->
                      <a-form-item name="o_5lhugmx6z3" :rules="k_53yicmgf55_rules[`o_5lhugmx6z3`]" class="vid_283mdstx5n" :label-col='{"span":6}' :wrapper-col='{"span":18}'>
                        <!-- begin vid_6la7jnxlki milepost下拉框_zpfuxrqx6m -->
                        <a-select
                          class="vid_6la7jnxlki"
                          :getPopupContainer="(node) => node.parentNode"
                          v-model:value="k_53yicmgf55.o_5lhugmx6z3"
                          :showArrow="true"
                          :filterOption="false"
                          :dropdownMatchSelectWidth="true"
                          :placeholder="'请选择'"
                          :allowClear="true"
                          :searchValue="vid_6la7jnxlki_props.searchValue"
                          :selected="vid_6la7jnxlki_props.selected"
                          :options="vid_6la7jnxlki_options()"
                          @focus="handle_vid_6la7jnxlki_focus"
                          @change="handle_vid_6la7jnxlki_change"
                          @search="handle_vid_6la7jnxlki_search"
                        >
                        </a-select>
                        <!-- end vid_6la7jnxlki milepost下拉框_zpfuxrqx6m -->
                        <template #label>
                          <!-- begin vid_pw23mlxevv 简单文本_xkkcg5w2zy -->
                          <span class="vid_pw23mlxevv"> 项目阶段 </span>
                          <!-- end vid_pw23mlxevv 简单文本_xkkcg5w2zy -->
                        </template>
                      </a-form-item>
                      <!-- end vid_283mdstx5n 表单项容器_2hfs4b1g2y -->
                    </a-col>
                    <a-col :span="6">
                      <!-- begin vid_2l6v2ft5ct 按钮_hibmx1ryq5 -->
                      <a-button class="vid_2l6v2ft5ct" :type="'primary'" @click="handle_vid_2l6v2ft5ct_click"> 查询 </a-button>
                      <!-- end vid_2l6v2ft5ct 按钮_hibmx1ryq5 -->
                      <!-- begin vid_sh3hvfv5bp 按钮_4yo0o4gghh -->
                      <a-button class="vid_sh3hvfv5bp" @click="handle_vid_sh3hvfv5bp_click"> 重置 </a-button>
                      <!-- end vid_sh3hvfv5bp 按钮_4yo0o4gghh -->
                    </a-col>
                    <a-col :span="6"> </a-col>
                    <a-col :span="6">
                      <!-- begin vid_x3mrpoh5iz 表单项容器_i0iz5ruiaa -->
                      <a-form-item name="y_fv5t88pibx" :rules="k_53yicmgf55_rules[`y_fv5t88pibx`]" v-if="false" class="vid_x3mrpoh5iz" :label-col='{"span":4}' :wrapper-col='{"span":20}'>
                        <!-- begin vid_ffg8o0dcja 下拉框_wt21w6b7g9 -->
                        <a-select
                          class="vid_ffg8o0dcja"
                          :getPopupContainer="(node) => node.parentNode"
                          v-model:value="k_53yicmgf55.y_fv5t88pibx"
                          :showArrow="true"
                          :filterOption="false"
                          :dropdownMatchSelectWidth="true"
                          :placeholder="'请选择'"
                          :allowClear="true"
                          :searchValue="vid_ffg8o0dcja_props.searchValue"
                          :selected="vid_ffg8o0dcja_props.selected"
                          :options="vid_ffg8o0dcja_options()"
                          @change="handle_vid_ffg8o0dcja_change"
                          @search="handle_vid_ffg8o0dcja_search"
                        >
                        </a-select>
                        <!-- end vid_ffg8o0dcja 下拉框_wt21w6b7g9 -->
                        <template #label>
                          <!-- begin vid_5hktr0jbf7 简单文本_9gds9oagyx -->
                          <span class="vid_5hktr0jbf7"> 部门 </span>
                          <!-- end vid_5hktr0jbf7 简单文本_9gds9oagyx -->
                        </template>
                      </a-form-item>
                      <!-- end vid_x3mrpoh5iz 表单项容器_i0iz5ruiaa -->
                    </a-col>
                  </a-row>
                  <!-- end vid_o7wqm5fste 布局容器_zcel4s0c5e -->
                </a-form>
                <!-- end vid_oq7irv2rjs 表单容器_wrqblo1r7w -->
                <!-- begin vid_86hsdv5ip4 容器_vwma43gymd -->
                <al-box class="vid_86hsdv5ip4">
                  <!-- begin vid_4opoeq0k2i 表格_enciofxlvm -->
                  <!-- 表格_enciofxlvm -->
                  <a-table
                    class="vid_4opoeq0k2i"
                    :totalNumber="vid_4opoeq0k2i_props.totalNumber"
                    :bordered="true"
                    :editRowSaveLoading="vid_4opoeq0k2i_props.editRowSaveLoading"
                    :sorter="vid_4opoeq0k2i_props.sorter"
                    :currentRow="vid_4opoeq0k2i_props.currentRow"
                    :selectedRowList="vid_4opoeq0k2i_props.selectedRowList"
                    :data-source="vid_4opoeq0k2i_options()"
                    @change="handle_vid_4opoeq0k2i_change"
                    :columns="vid_4opoeq0k2i_columns"
                    :pagination="vid_4opoeq0k2i_pagination"
                    row-key="id"
                    @resizeColumn="(w, col) => handleResizeColumn(w, col, 'vid_4opoeq0k2i')"
                    sticky
                    :scroll="{ x: 'max-content', scrollToFirstRowOnChange: true, }"
                    :row-class-name="(_record, index) => (index % 2 === 1 ? 'table-striped-even' : 'table-striped-odd')"
                  >
                    <template #headerCell="{ title, column }">
                      <TableHeaderCell :title="title" :column="column" />
                    </template>
                    <template #bodyCell="{ text, column, record, index }">
                      <!-- 操作列 -->
                      <div v-if="column.dataIndex === 'vid_4opoeq0k2i_operation'" class="operation-cell">
                        <!-- 默认分组 -->
                        <span>
                          <a-button type="link" @click="handle_vid_4opoeq0k2i_clickBtn_tdgmgimmsf(record)">查看审核标准</a-button>
                        </span>
                      </div>

                      <!-- 序号列 -->
                      <template v-if="column && column.dataIndex === 'vid_4opoeq0k2i_serialNumber'">
                        {{ index + 1 }}
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"项目阶段"} 列内容 -->
                      <template v-if="column.dataIndex === 'milepostName' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_4opoeq0k2i_props.boundaryValueMap"
                          :dataSource="vid_4opoeq0k2i_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"部门"} 列内容 -->
                      <template v-if="column.dataIndex === 'checkCastingName' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_4opoeq0k2i_props.boundaryValueMap"
                          :dataSource="vid_4opoeq0k2i_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"检查项"} 列内容 -->
                      <template v-if="column.dataIndex === 'checkEntry' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_4opoeq0k2i_props.boundaryValueMap"
                          :dataSource="vid_4opoeq0k2i_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"完成标准"} 列内容 -->
                      <template v-if="column.dataIndex === 'finishStandard' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_4opoeq0k2i_props.boundaryValueMap"
                          :dataSource="vid_4opoeq0k2i_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"最近更新时间"} 列内容 -->
                      <template v-if="column.dataIndex === 'updateTime' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_4opoeq0k2i_props.boundaryValueMap"
                          :dataSource="vid_4opoeq0k2i_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"id"} 列内容 -->
                      <template v-if="column.dataIndex === 'id' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_4opoeq0k2i_props.boundaryValueMap"
                          :dataSource="vid_4opoeq0k2i_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"任务名称"} 列内容 -->
                      <template v-if="column.dataIndex === 'taskName' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_4opoeq0k2i_props.boundaryValueMap"
                          :dataSource="vid_4opoeq0k2i_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                      <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"projectPhaseId"} 列内容 -->
                      <template v-if="column.dataIndex === 'projectPhaseId' && !column.customRender">
                        <text-table-cell
                          :rowData="record"
                          :conditionValueMap="vid_4opoeq0k2i_props.boundaryValueMap"
                          :dataSource="vid_4opoeq0k2i_props.contentDataSource[column.dataIndex]"
                          :columnsConfig="column"
                          :value="text"
                        />
                      </template>
                    </template>
                  </a-table>
                  <!-- end vid_4opoeq0k2i 表格_enciofxlvm -->
                </al-box>
                <!-- end vid_86hsdv5ip4 容器_vwma43gymd -->
              </al-box>
              <!-- end vid_spw6r77wtp 容器_r02zloi700 -->
            </a-col>
          </a-row>
          <!-- end vid_8rdk0vgx99 布局容器_1zc7j29df2 -->
        </a-tab-pane>
      </a-tabs>
      <!-- end vid_352t3vt2nj 标签页_ncyrodfqun -->
    </a-spin>
  </div>
</template>
<script setup lang="tsx">
  import {
      h, ref, reactive, toRaw, markRaw, watch, computed,
      onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, onActivated, onDeactivated
    } from "vue";
    import { useRoute, useRouter } from 'vue-router';
    const router = useRouter();
    const route = useRoute();
    import { get, post, put, del, request, requestWithHeaders } from '@/utils/http/Axios';
    import { cloneDeep, localGet, merge, getDifferenceArray, traversalTreeStructure, checkCaseCondition, renderStringInTemplate, handleBreadcrumbJump, throttle, permission, getComponentParamsValue } from '@/utils/index';
    import { isNullOrEmpty, isEmptyArr, isNullOrUnDef, isContained, isArray, isEmpty, isObject } from '@/utils/is';
    import dayjs from 'dayjs';
    import { getPagePcChartsDataSourceConvert } from '@/utils/chart';
    import { message, notification, Modal } from 'ant-design-vue'
    import { propertyFormatByNumber, propertyFormatByPercentage, propertyFormatByDate, parseSubFromDataList } from '@/utils/format';
    import colorTheme from '@/design/custom-theme.json';
    
    import UserTableRecords from '@/model/UserTableRecords';
    import { getAppBaseUrl } from '@/utils/index';
    import { sendToken } from "@/hooks/useIframeToken";
    import { useSystemStore } from "@/store/modules/system";
    const systemStore = useSystemStore();
    

  import TextTableCell from '@/components/page/tableCell/text.vue';
  import TooltipTableCell from '@/components/page/tableCell/tooltip.vue';
  import NumberTableCell from '@/components/page/tableCell/number.vue';
  import ProgressTableCell from '@/components/page/tableCell/progress.vue';
  import OptionsTableCell from '@/components/page/tableCell/options.vue';
  import MultipleOptionsTableCell from '@/components/page/tableCell/multipleOptions.vue';
  import DatePickerTableCell from '@/components/page/tableCell/datePicker.vue';
  import RangePickerTableCell from '@/components/page/tableCell/rangePicker.vue';
  import RangeNumberTableCell from '@/components/page/tableCell/rangeNumber.vue';
  import BoolTableCell from '@/components/page/tableCell/bool.vue';
  import TableHeaderCell from '@/components/page/TableHeaderCell.vue';

      // 获取传入的流程ID和组件参数
      const props = defineProps({
            'processInstanceId': {
            type: [String,Number,Boolean],
            default: undefined,
        },
      })
      const immediateWatch = (source, callback) => {
        watch(source, callback, {deep: true,immediate: true })
      }



  /* -------------------------- 属性定义 -------------------------- */

      const setTimeOutList = [];
      const pageLoading = reactive({
        loading: false,
        tip: undefined
      });
      const authInfo = localGet('app-user-store');

    const vid_kg1vwvmfe2_props = reactive({
          visible: false,
      confirmLoading: undefined,
  })

    const vid_p8x7d3kl4w_props = reactive({
          dataSource: [{"finishStandard":"","milepostName":"","taskName":"","id":-1,"assessorStandard":""}],
      current: {"finishStandard":"","milepostName":"","taskName":"","id":-1,"assessorStandard":""},
      currentIndex: -1,
  })

    const vid_hjp0nccbeg_props = reactive({
          rt_text: undefined,
  })

    const vid_8k457tsf68_props = reactive({
          show: false,
      type: "success",
      content: "新建成功",
      duration: 3,
  })

    const vid_isa30wea4v_props = reactive({
          show: false,
      type: "success",
      content: "删除成功",
      duration: 3,
  })

    const vid_d9aew7dpdy_props = reactive({
          show: false,
      type: "success",
      content: "编辑成功",
      duration: 3,
  })

    const vid_iurm9mmrsf_props = reactive({
          show: false,
      type: "success",
      content: "新增项目阶段成功",
      duration: 3,
  })

    const vid_xxdeqpwu5q_props = reactive({
          show: false,
      type: "error",
      content: "新建失败",
      duration: 3,
  })

    const vid_z4rzrzijcy_props = reactive({
          show: false,
      type: "error",
      content: "删除失败",
      duration: 3,
  })

    const vid_400a984c5f_props = reactive({
          show: false,
      type: "error",
      content: "编辑失败",
      duration: 3,
  })

    const vid_hgw3c7stdj_props = reactive({
          show: false,
      type: "error",
      content: undefined,
      duration: 3,
  })

    const vid_e55vv2sjxj_props = reactive({
          visible: false,
      confirmLoading: undefined,
  })

    const vid_ddjbavkhmg_props = reactive({
          visible: false,
      confirmLoading: undefined,
  })

    const vid_54bdtnjr27_props = reactive({
          formModel: {"b_u92u01625c":"","z_6rdlf569kh":"","x_6fm7c5n406":""},
  })

    const vid_7q9e6sudx3_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_4356iqyj6d_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_1l4gt607tg_props = reactive({
          value: undefined,
  })

    const vid_pigah55qkg_props = reactive({
          visible: false,
      confirmLoading: undefined,
  })

    const vid_09oyeltabw_props = reactive({
          formModel: {"o_4ks6lzgiaz":"","checkEntry":"","checkCastingId":"","projectPhaseId":""},
  })

    const vid_ymqc3nadzc_props = reactive({
          dataSource: [{"checkEntry":"","projectPhaseId":"","checkCastingId":""}],
      current: {"checkEntry":"","projectPhaseId":"","checkCastingId":""},
      currentIndex: -1,
  })

    const vid_bi2ptygamn_props = reactive({
          value: undefined,
  })

    const vid_y9392nh2cx_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_7wwdr27l5x_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_lrxsz8ple6_props = reactive({
          visible: false,
      confirmLoading: undefined,
  })

    const vid_pbzqm0whoi_props = reactive({
          formModel: {"f_kmp3rkg2wt":"","serialNumber":"","projectPhaseName":""},
  })

    const vid_xxlqbpuyg8_props = reactive({
          dataSource: [{"checkEntry":"","checkEntryId":-1,"serialNumber":-1,"projectPhaseId":-1,"createTime":"","checkCastingName":"","projectPhaseName":"","checkCastingId":-1,"projectType":"","updateTime":"","milepostId":-1}],
      current: {"checkEntry":"","checkEntryId":-1,"serialNumber":-1,"projectPhaseId":-1,"createTime":"","checkCastingName":"","projectPhaseName":"","checkCastingId":-1,"projectType":"","updateTime":"","milepostId":-1},
      currentIndex: -1,
  })

    const vid_ig1ox7d11w_props = reactive({
          value: undefined,
  })

    const vid_ba3q4ioj8b_props = reactive({
          value: undefined,
  })

    const vid_352t3vt2nj_props = reactive({
          activeKey: "Tab1",
  })

    const vid_fax4o6qk1f_props = reactive({
          formModel: {"o_hpzp036oud":"","q_mz6by1rasv":""},
  })

    const vid_hjfar9hawx_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_4sd3aumapx_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_wd2r1saxfr_props = reactive({
          systemSort: [],
      sorter: {},
      editRowSaveLoading: {},
      currentRow: {"projectPhaseName":"","checkCastingName":"","checkEntry":"","createTime":"","updateTime":"","checkEntryId":"","serialNumber":"","projectPhaseId":""},
      selectedRowList: {"checkEntry":[],"checkEntryId":[],"serialNumber":[],"projectPhaseId":[],"createTime":[],"projectPhaseName":[],"checkCastingName":[],"updateTime":[],"custom1":[]},
      totalNumber: undefined,
      rt_tableConfig: {"layout":{"showHeader":true,"sticky":true,"operationColumnFixed":"right"},"pagination":{"current":1,"pageSizeOptions":"10,20,30,40","enable":true,"showTotal":true,"hideOnSinglePage":false,"pageSize":"12","simple":false,"sync":true,"showQuickJumper":true,"showSizeChanger":false},"scroll":{"x":"max-content","y":"","scrollToFirstRowOnChange":true},"style":{"contentStyle":{"borderColor":"#D9D9D9","enableContentStyle":true,"fontFamily":"arial, helvetica, \"microsoft yahei\"","lintHeight":40,"borderWidth":1,"evenLineBackColor":"#F8FAFC","textWeight":"400","fontSize":14,"oddLineBackColor":"#FFFFFF","textColor":"#262626"},"paginationStyle":{"layout":"bottomRight","size":"default"},"headerStyle":{"borderColor":"#D9D9D9","backgroundColor":"#3875FF","fontFamily":"arial, helvetica, \"microsoft yahei\"","lintHeight":40,"borderWidth":1,"textWeight":"600","fontSize":14,"enableTextStyle":true,"textColor":"#FFFFFF"}},"basic":{"rowSelection":false,"rowEdit":{"cancelText":"取消","editText":"编辑","saveText":"保存"},"title":"","showSequenceNumber":false,"rowKey":"id"}},
      columnList: [
          {
            id: 'q8bz6ikw1x',
            dataIndex: 'projectPhaseName',
            headerComment: false,
            title: '项目阶段',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            id: 'u2gbc4yes1',
            dataIndex: 'serialNumber',
            headerComment: false,
            title: '排序',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            id: '08jb7d69ek',
            dataIndex: 'createTime',
            headerComment: false,
            title: '添加时间',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            id: 'j6dfqqx6fc',
            dataIndex: 'updateTime',
            headerComment: false,
            title: '最近更新时间',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            dataIndex: 'vid_wd2r1saxfr_operation',
            title: '操作',
            fixed: 'right',
          },
        ],
      rawColumnList: [],
      // 进行行合并所需的排序规则，必须将其加到排序字段的前面，以实现合并单元格
      rowMergeSort: [],
      // 完整的排序规则：需要将行合并的排序规则和排序字段的排序规则赋给该属性；调接口时会使用其作为排序条件
      systemSort: [],
      // 条件格式需要的边界值映射：key为边界值id，value为边界值数据
      boundaryValueMap: {},
      // 表格单元格内容渲染需要的外部数据源：key为列，value为该列单元格的外部数据源配置
      contentDataSource: {},
  })

    const vid_ja4nmzygrg_props = reactive({
          value: undefined,
  })

    const vid_suuil4h48d_props = reactive({
          lazyParams: undefined,
      selected: {"singleValue":"","title":[],"value":[],"option":[],"singleLabel":""},
      clickNode: {"nodeTitle":"","nodeKey":"","nodeParentKey":""},
      checkedKeys: [],
      selectedKeys: [],
      expandedKeys: [],
  })

    const vid_oq7irv2rjs_props = reactive({
          formModel: {"y_fv5t88pibx":"","o_5lhugmx6z3":""},
  })

    const vid_ffg8o0dcja_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_6la7jnxlki_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_4opoeq0k2i_props = reactive({
          systemSort: [],
      sorter: {},
      editRowSaveLoading: {},
      currentRow: {"milepostName":"","checkCastingName":"","checkEntry":"","finishStandard":"","updateTime":"","id":"","taskName":"","projectPhaseId":""},
      selectedRowList: {"checkEntry":[],"checkEntryId":[],"serialNumber":[],"projectPhaseId":[],"createTime":[],"projectPhaseName":[],"checkCastingName":[],"updateTime":[],"custom1":[],"milepostName":[],"finishStandard":[],"taskName":[],"id":[]},
      totalNumber: undefined,
      rt_tableConfig: {"layout":{"showHeader":true,"sticky":true,"operationColumnFixed":"right"},"pagination":{"current":1,"pageSizeOptions":"10,20,30,40","enable":true,"showTotal":true,"hideOnSinglePage":false,"pageSize":"16","simple":false,"sync":true,"showQuickJumper":true,"showSizeChanger":false},"scroll":{"x":"max-content","y":"","scrollToFirstRowOnChange":true},"style":{"contentStyle":{"borderColor":"#D9D9D9","enableContentStyle":true,"fontFamily":"arial, helvetica, \"microsoft yahei\"","lintHeight":40,"borderWidth":1,"evenLineBackColor":"#F8FAFC","textWeight":"400","fontSize":14,"oddLineBackColor":"#FFFFFF","textColor":"#262626"},"paginationStyle":{"layout":"bottomRight","size":"default"},"headerStyle":{"borderColor":"#D9D9D9","backgroundColor":"#3875FF","fontFamily":"arial, helvetica, \"microsoft yahei\"","lintHeight":40,"borderWidth":1,"textWeight":"600","fontSize":14,"enableTextStyle":true,"textColor":"#FFFFFF"}},"basic":{"rowSelection":false,"rowEdit":{"cancelText":"取消","editText":"编辑","saveText":"保存"},"title":"","showSequenceNumber":false,"rowKey":"id"}},
      columnList: [
          {
            id: 'q8bz6ikw1x',
            dataIndex: 'milepostName',
            headerComment: false,
            title: '项目阶段',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            width: '150px',
            resizable: true,
          },
          {
            id: 'u2gbc4yes1',
            dataIndex: 'taskName',
            headerComment: false,
            title: '任务名称',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            width: '400px',
            resizable: true,
          },
          {
            id: '08jb7d69ek',
            dataIndex: 'finishStandard',
            headerComment: false,
            title: '完成标准',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            width: '500px',
            resizable: true,
          },
          {
            dataIndex: 'vid_4opoeq0k2i_operation',
            title: '操作',
            fixed: 'right',
          },
        ],
      rawColumnList: [],
      // 进行行合并所需的排序规则，必须将其加到排序字段的前面，以实现合并单元格
      rowMergeSort: [],
      // 完整的排序规则：需要将行合并的排序规则和排序字段的排序规则赋给该属性；调接口时会使用其作为排序条件
      systemSort: [],
      // 条件格式需要的边界值映射：key为边界值id，value为边界值数据
      boundaryValueMap: {},
      // 表格单元格内容渲染需要的外部数据源：key为列，value为该列单元格的外部数据源配置
      contentDataSource: {},
  })

    const vid_nbb1aplepq_props = reactive({
          value: undefined,
  })

    const vid_h44ml6bbeu_props = reactive({
          lazyParams: undefined,
      selected: {"singleValue":"","title":[],"value":[],"option":[],"singleLabel":""},
      clickNode: {"nodeTitle":"","nodeKey":"","nodeParentKey":""},
      checkedKeys: [],
      selectedKeys: [],
      expandedKeys: [],
  })
  // ---------------------------- 定义模型数据 ----------------------------

    const c_a0ug83mxb9 = reactive({})


    const r_o4qgx6bmyj = reactive({"o_4ks6lzgiaz":[{}]})


    const m_bxh08awsmu = reactive({"f_kmp3rkg2wt":[{}]})


    const y_394qp8081f = reactive({})


    const k_53yicmgf55 = reactive({})

    // ============================ 定义模型数据 ============================




    const c_a0ug83mxb9_rules = reactive({
          b_u92u01625c: [
          { required: true, message: '请选择项目阶段!', trigger: 'blur' },
      ],
      z_6rdlf569kh: [
          { required: true, message: '请选择部门!', trigger: 'blur' },
      ],
      x_6fm7c5n406: [
          { required: true, message: '检查项!', trigger: 'blur' },
      ],
    })






    const r_o4qgx6bmyj_rules = reactive({

      checkEntry: [
          { required: true, message: '请输入检查项!', trigger: 'blur' },
          {pattern: new RegExp("^[\\S]*$"), message: '请输入汉字、字母、数字、下划线', trigger: 'blur'},
      ],
      checkCastingId: [
          { required: true, message: '请选择部门!', trigger: 'blur' },
      ],
      projectPhaseId: [
          { required: true, message: '请选择项目阶段!', trigger: 'blur' },
      ],
    })






    const m_bxh08awsmu_rules = reactive({

      serialNumber: [
          { required: true, message: '请输入排序!', trigger: 'blur' },
          {pattern: new RegExp("^[\\S]*$"), message: '请输入汉字、字母、数字、下划线', trigger: 'blur'},
      ],
      projectPhaseName: [
          { required: true, message: '请选择项目阶段!', trigger: 'blur' },
          {pattern: new RegExp("^[\\S]*$"), message: '请输入汉字、字母、数字、下划线', trigger: 'blur'},
      ],
    })



    const y_394qp8081f_rules = reactive({


    })



    const k_53yicmgf55_rules = reactive({


    })


      // 处理校验
      const setSubFormName =(parentInfo, name)=>{
        return [parentInfo.parents, parentInfo.cycleIndex, name];
      }


    const vid_7q9e6sudx3_options_raw = ref([])

      const vid_7q9e6sudx3_options = computed(() => {
        return (dataSource = vid_7q9e6sudx3_options_raw.value)=>{
          return (dataSource || []).map(item => {
            return {
              ...item,
              value: item.projectPhaseId,
          disabled: !!item.disabled,
          label: item.projectPhaseName
            }
          })
        }
      })



    const vid_4356iqyj6d_options_raw = ref([{"label":"交付部","value":"1"},{"label":"产品部","value":"2"},{"label":"解决方案","value":"3"},{"label":"销售部","value":"4"},{"label":"售前部","value":"5"},{"label":"财务","value":"6"},{"label":"平台研发部","value":"7"}])

      const vid_4356iqyj6d_options = computed(() => {
            return () => vid_4356iqyj6d_options_raw.value
          })



    const vid_y9392nh2cx_options_raw = ref([{"label":"交付部","value":"1"},{"label":"产品部","value":"2"},{"label":"解决方案","value":"3"},{"label":"销售部","value":"4"},{"label":"售前部","value":"5"},{"label":"财务","value":"6"},{"label":"平台研发部","value":"7"}])

      const vid_y9392nh2cx_options = computed(() => {
            return () => vid_y9392nh2cx_options_raw.value
          })



    const vid_7wwdr27l5x_options_raw = ref([])

      const vid_7wwdr27l5x_options = computed(() => {
        return (dataSource = vid_7wwdr27l5x_options_raw.value)=>{
          return (dataSource || []).map(item => {
            return {
              ...item,
              value: item.projectPhaseId,
          disabled: !!item.disabled,
          label: item.projectPhaseName
            }
          })
        }
      })



    const vid_hjfar9hawx_options_raw = ref([{"label":"交付部","value":"1"},{"label":"产品部","value":"2"},{"label":"解决方案","value":"3"},{"label":"销售部","value":"4"},{"label":"售前部","value":"5"},{"label":"财务","value":"6"},{"label":"平台研发部","value":"7"}])

      const vid_hjfar9hawx_options = computed(() => {
            return () => vid_hjfar9hawx_options_raw.value
          })



    const vid_4sd3aumapx_options_raw = ref([])

      const vid_4sd3aumapx_options = computed(() => {
        return (dataSource = vid_4sd3aumapx_options_raw.value)=>{
          return (dataSource || []).map(item => {
            return {
              ...item,
              value: item.projectPhaseId,
          disabled: !!item.disabled,
          label: item.projectPhaseName
            }
          })
        }
      })



    const vid_wd2r1saxfr_options_raw = ref([])

      const vid_wd2r1saxfr_options = computed(() => {
        return () => vid_wd2r1saxfr_options_raw.value
      })



    const vid_suuil4h48d_options_raw = ref([{"title":"平台项目","value":"产品研发","key":"产品研发"},{"title":"交付项目","value":"交付","key":"交付"},{"title":"市场项目","value":"市场","key":"市场"}])

      const vid_suuil4h48d_options = computed(() => {
            return () => vid_suuil4h48d_options_raw.value
          })



    const vid_ffg8o0dcja_options_raw = ref([{"label":"交付部","value":"1"},{"label":"产品部","value":"2"},{"label":"解决方案","value":"3"},{"label":"销售部","value":"4"},{"label":"售前部","value":"5"},{"label":"财务","value":"6"},{"label":"平台研发部","value":"7"}])

      const vid_ffg8o0dcja_options = computed(() => {
            return () => vid_ffg8o0dcja_options_raw.value
          })



    const vid_6la7jnxlki_options_raw = ref([])

      const vid_6la7jnxlki_options = computed(() => {
        return (dataSource = vid_6la7jnxlki_options_raw.value)=>{
          return (dataSource || []).map(item => {
            return {
              ...item,
              value: item.milepostName,
          disabled: !!item.disabled,
          label: item.milepostName
            }
          })
        }
      })



    const vid_4opoeq0k2i_options_raw = ref([])

      const vid_4opoeq0k2i_options = computed(() => {
        return () => vid_4opoeq0k2i_options_raw.value
      })



    const vid_h44ml6bbeu_options_raw = ref([])

      const vid_h44ml6bbeu_options = computed(() => {
            return () => vid_h44ml6bbeu_options_raw.value
          })

  // 图表组件 编辑_项目阶段_projectPhaseName 条件格式数据依赖
  const vid_7q9e6sudx3_chartConditionDependencyMap = ref({
  })
  // 图表组件 编辑_角色_checkCastingName 条件格式数据依赖
  const vid_4356iqyj6d_chartConditionDependencyMap = ref({
  })
  // 图表组件 角色_checkCastingName 条件格式数据依赖
  const vid_y9392nh2cx_chartConditionDependencyMap = ref({
  })
  // 图表组件 项目阶段_projectPhaseName 条件格式数据依赖
  const vid_7wwdr27l5x_chartConditionDependencyMap = ref({
  })
  // 图表组件 筛选下拉框_checkCastingName_角色 条件格式数据依赖
  const vid_hjfar9hawx_chartConditionDependencyMap = ref({
  })
  // 图表组件 筛选下拉框_projectPhaseName_项目阶段 条件格式数据依赖
  const vid_4sd3aumapx_chartConditionDependencyMap = ref({
  })
  // 图表组件 表格_3he4hrjd0l 条件格式数据依赖
  const vid_wd2r1saxfr_chartConditionDependencyMap = ref({
  })
  // 图表组件 树形控件_y6gkyotoy4 条件格式数据依赖
  const vid_suuil4h48d_chartConditionDependencyMap = ref({
  })
  // 图表组件 下拉框_wt21w6b7g9 条件格式数据依赖
  const vid_ffg8o0dcja_chartConditionDependencyMap = ref({
  })
  // 图表组件 milepost下拉框_zpfuxrqx6m 条件格式数据依赖
  const vid_6la7jnxlki_chartConditionDependencyMap = ref({
  })
  // 图表组件 表格_enciofxlvm 条件格式数据依赖
  const vid_4opoeq0k2i_chartConditionDependencyMap = ref({
  })
  // 图表组件 树形控件_usbgmzbh2o 条件格式数据依赖
  const vid_h44ml6bbeu_chartConditionDependencyMap = ref({
  })
  /* ========================== 属性定义 ========================== */


  /* -------------------------- 元素数据引用 -------------------------- */
  // 组件 表单容器_编辑检查项 ref 的引用
  const vid_54bdtnjr27_ref = ref(null);
  // 组件 表单容器_476j4jlapj ref 的引用
  const vid_09oyeltabw_ref = ref(null);
  // 组件 新建检查项-动作列表 ref 的引用
  const vid_ymqc3nadzc_ref = ref(null);
  // 组件 表单容器_j36xtulq1f ref 的引用
  const vid_pbzqm0whoi_ref = ref(null);
  // 组件 表单容器_x3zh844qp3 ref 的引用
  const vid_fax4o6qk1f_ref = ref(null);
  // 组件 表单容器_wrqblo1r7w ref 的引用
  const vid_oq7irv2rjs_ref = ref(null);

  /* ========================== 元素数据引用 ========================== */


  /* -------------------------- 页面数据 -------------------------- */

    // 页面数据 查询检查清单信息
    const dataConnector_conn_ji08hzh3we_response = ref();
    const dataConnector_conn_ji08hzh3we = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            checkEntry: undefined,
          checkEntryId: undefined,
          projectPhaseId: vid_4sd3aumapx_props?.selected.value,
          checkCastingName: vid_hjfar9hawx_props?.selected.label,
          pageNo: vid_wd2r1saxfr_props?.rt_tableConfig.pagination.current,
          ppmChecklistList: undefined,
          projectPhaseName: vid_4sd3aumapx_props?.selected.label,
          checkCastingId: vid_hjfar9hawx_props?.selected.value,
          pageSize: vid_wd2r1saxfr_props?.rt_tableConfig.pagination.pageSize,
          milepostId: undefined,
          delFlag: undefined
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/checklist/queryPpmChecklistList';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_ji08hzh3we_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 编辑检查信息清单
    const dataConnector_conn_96okqn5b14_response = ref();
    const dataConnector_conn_96okqn5b14 = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            checkEntry: c_a0ug83mxb9.x_6fm7c5n406,
          checkEntryId: vid_wd2r1saxfr_props?.currentRow.checkEntryId,
          role: undefined,
          checkCastingName: vid_4356iqyj6d_props?.selected.label,
          projectPhaseName: vid_7q9e6sudx3_props?.selected.label,
          pageSize: undefined,
          milepostId: undefined,
          delFlag: undefined,
          projectPhaseId: vid_7q9e6sudx3_props?.selected.value,
          updateBy: undefined,
          pageNo: undefined,
          ppmChecklistList: undefined,
          checkCastingId: vid_4356iqyj6d_props?.selected.value
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/checklist/updatePpmChecklist';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_96okqn5b14_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 检查清单下拉框项目阶段
    const dataConnector_conn_bi03ady1c8_response = ref();
    const dataConnector_conn_bi03ady1c8 = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {

          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/checklist/queryProjectPhase';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return get(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_bi03ady1c8_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 新增检查项(72)
    const dataConnector_conn_dqalhlb98f_response = ref();
    const dataConnector_conn_dqalhlb98f = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            checkEntry: undefined,
          checkEntryId: undefined,
          role: undefined,
          checkCastingName: undefined,
          projectPhaseName: undefined,
          pageSize: undefined,
          milepostId: undefined,
          delFlag: undefined,
          projectPhaseId: undefined,
          updateBy: null,
          pageNo: undefined,
          ppmChecklistList: vid_ymqc3nadzc_props?.dataSource,
          checkCastingId: undefined
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/checklist/add/PpmCheckItem';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_dqalhlb98f_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 逻辑删除项目阶段(72)
    const dataConnector_conn_7l3k1na3dk_response = ref();
    const dataConnector_conn_7l3k1na3dk = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            checkEntry: undefined,
          checkEntryId: undefined,
          role: undefined,
          checkCastingName: undefined,
          projectPhaseName: undefined,
          pageSize: undefined,
          milepostId: undefined,
          delFlag: undefined,
          projectPhaseId: vid_wd2r1saxfr_props?.currentRow.projectPhaseId,
          updateBy: undefined,
          pageNo: undefined,
          ppmChecklistList: undefined,
          checkCastingId: undefined
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/checklist/delete/project/phase';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_7l3k1na3dk_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 查询检查清单项目阶段
    const dataConnector_conn_yswb7q1p0i_response = ref();
    const dataConnector_conn_yswb7q1p0i = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            checkEntry: undefined,
          checkEntryId: undefined,
          role: undefined,
          checkCastingName: undefined,
          projectPhaseName: vid_4sd3aumapx_props?.selected.label,
          projectType: vid_suuil4h48d_props?.selected.singleValue,
          pageSize: vid_wd2r1saxfr_props?.rt_tableConfig.pagination.pageSize,
          milepostId: undefined,
          delFlag: undefined,
          projectPhaseId: undefined,
          updateBy: undefined,
          pageNo: vid_wd2r1saxfr_props?.rt_tableConfig.pagination.current,
          ppmChecklistList: undefined,
          checkCastingId: undefined
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/checklist/queryCheckProjectPhase';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_yswb7q1p0i_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 检查清单下拉框项目阶段
    const dataConnector_conn_ai7tuvfgwg_response = ref();
    const dataConnector_conn_ai7tuvfgwg = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            checkEntry: undefined,
          checkEntryId: undefined,
          role: undefined,
          checkCastingName: undefined,
          projectPhaseName: undefined,
          projectType: vid_suuil4h48d_props?.selected.singleValue,
          pageSize: undefined,
          milepostId: undefined,
          delFlag: undefined,
          projectPhaseId: undefined,
          updateBy: undefined,
          pageNo: undefined,
          ppmChecklistList: undefined,
          checkCastingId: undefined
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/checklist/queryProjectPhase';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_ai7tuvfgwg_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 新增项目阶段
    const dataConnector_conn_uk17cw6pqk_response = ref();
    const dataConnector_conn_uk17cw6pqk = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            checkEntry: null,
          checkEntryId: null,
          role: null,
          checkCastingName: null,
          projectPhaseName: null,
          projectType: vid_suuil4h48d_props?.selected.singleValue,
          pageSize: null,
          milepostId: null,
          delFlag: null,
          projectPhaseId: null,
          updateBy: null,
          pageNo: null,
          ppmChecklistList: vid_xxlqbpuyg8_props?.dataSource,
          checkCastingId: null
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/checklist/add/PpmProjectPhase';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_uk17cw6pqk_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 查询模板项目树
    const dataConnector_conn_7xqcgisotp_response = ref();
    const dataConnector_conn_7xqcgisotp = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            name: vid_nbb1aplepq_props?.value
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/template-project-checklist/tree';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_7xqcgisotp_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 查询模板任务列表
    const dataConnector_conn_g8fuka5xo0_response = ref();
    const dataConnector_conn_g8fuka5xo0 = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            templateName: vid_h44ml6bbeu_props?.selected.singleLabel,
          pageNo: vid_4opoeq0k2i_props?.rt_tableConfig.pagination.current,
          milepostName: vid_6la7jnxlki_props?.selected.label,
          pageSize: vid_4opoeq0k2i_props?.rt_tableConfig.pagination.pageSize,
          templateCode: null
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/template-project-checklist/list';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_g8fuka5xo0_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 查询审核标准
    const dataConnector_conn_pvrj2f7ird_response = ref();
    const dataConnector_conn_pvrj2f7ird = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {

          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/template-project-checklist/assessor_standard/{id}';
          // 替换url中的变量
          url = url.replace('{id}', String(vid_4opoeq0k2i_props?.currentRow.id))
          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_pvrj2f7ird_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 查询项目阶段下拉框
    const dataConnector_conn_0gojkru37r_response = ref();
    const dataConnector_conn_0gojkru37r = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            templateName: vid_h44ml6bbeu_props?.selected.singleLabel,
          milepostName: null,
          templateCode: null
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/template-project-checklist/get-milepost';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_0gojkru37r_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


  /* ========================== 页面数据 ========================== */



  /* -------------------------- 响应 -------------------------- */

    // 页面交互 新建检查项交互
    const response_qll3ahx0fe = async () => {

    const branchList = [{
          conditionType: 'EQUALS',
          value: 'success',
          exec: async () => {
              vid_8k457tsf68_props.show = true;
  vid_pigah55qkg_props.visible = false;
      // 这里组件可能还未初始化， 这里使用可选链的形式进行函数触发
   vid_ymqc3nadzc_ref.value?.reset();
  await dataConnector_conn_ji08hzh3we()
          }
      },{
          conditionType: 'EQUALS',
          value: 'fail',
          exec: async () => {
              vid_xxdeqpwu5q_props.show = true;
          }
      }];

    const matchBranch = branchList.find(item => checkCaseCondition(dataConnector_conn_dqalhlb98f_response?.value?.status, item.conditionType, item.value));
    // 匹配到的分支
    if (matchBranch) {
      matchBranch.exec();
      return;
    }
    // 默认分支动作


    }


    // 页面交互 删除交互
    const response_t9amwg8oue = async () => {

    const branchList = [{
          conditionType: 'EQUALS',
          value: 'success',
          exec: async () => {
              vid_isa30wea4v_props.show = true;
  await dataConnector_conn_yswb7q1p0i()
          }
      },{
          conditionType: 'EQUALS',
          value: 'fail',
          exec: async () => {
              vid_z4rzrzijcy_props.show = true;
          }
      }];

    const matchBranch = branchList.find(item => checkCaseCondition(dataConnector_conn_7l3k1na3dk_response?.value?.status, item.conditionType, item.value));
    // 匹配到的分支
    if (matchBranch) {
      matchBranch.exec();
      return;
    }
    // 默认分支动作


    }


    // 页面交互 编辑交互
    const response_ojnx8huze7 = async () => {

    const branchList = [{
          conditionType: 'EQUALS',
          value: 'success',
          exec: async () => {
              vid_d9aew7dpdy_props.show = true;
  await dataConnector_conn_ji08hzh3we()
  vid_ddjbavkhmg_props.visible = false;
      // 这里组件可能还未初始化， 这里使用可选链的形式进行函数触发
    try {
  await vid_54bdtnjr27_ref.value?.resetFields();
    } catch (error) { console.log(error);}
          }
      },{
          conditionType: 'EQUALS',
          value: 'fail',
          exec: async () => {
              vid_400a984c5f_props.show = true;
          }
      }];

    const matchBranch = branchList.find(item => checkCaseCondition(dataConnector_conn_96okqn5b14_response?.value?.status, item.conditionType, item.value));
    // 匹配到的分支
    if (matchBranch) {
      matchBranch.exec();
      return;
    }
    // 默认分支动作


    }


    // 页面交互 新建项目阶段交互
    const response_xzmb8hkcl2 = async () => {

    const branchList = [{
          conditionType: 'EQUALS',
          value: 'success',
          exec: async () => {
              vid_iurm9mmrsf_props.show = true;
  vid_lrxsz8ple6_props.visible = false;
  await dataConnector_conn_yswb7q1p0i()
          }
      },{
          conditionType: 'EQUALS',
          value: 'fail',
          exec: async () => {
              vid_hgw3c7stdj_props.show = true;
          }
      }];

    const matchBranch = branchList.find(item => checkCaseCondition(dataConnector_conn_uk17cw6pqk_response?.value?.status, item.conditionType, item.value));
    // 匹配到的分支
    if (matchBranch) {
      matchBranch.exec();
      return;
    }
    // 默认分支动作


    }


    // 页面交互 跳转到检查清单详情
    const response_oehuit46te = async () => {

    const query = {
      project_phase_id: vid_wd2r1saxfr_props?.currentRow.projectPhaseId
    };
    let appBaseUrl = '';
    
    appBaseUrl = getAppBaseUrl()
    
    const jumpInfo = {
      path: `${appBaseUrl}/app_50000005/page/3000000064`, // 跳转地址
      query
    };
    const routeUrl = router.resolve(jumpInfo);
    let url = routeUrl.href;
    // 判断是否是MicroApp的子应用
    const microAppData = window.microApp?.getData() ?? window.eventCenterForViteApp?.getData();
    if (microAppData) {
      const urlList = []
      Object.keys(jumpInfo.query).forEach(item=>{
        urlList.push(item + '=' + jumpInfo.query[item]);
      })
      // 判断要跳转的地址是否是用户自定义输入的
      const customJumpPath = jumpInfo.path;

      // 自定义跳转页面不是其他平台的菜单，则直接使用全路径
       if (customJumpPath.indexOf('/allin-app/') !== -1) {
        // 目标页面是其他平台的菜单
        const realPath = customJumpPath.split('/allin-app/').pop()
        // 兼容二级域名情况
        let jumpPath = (microAppData.baseroute ?? '/allin-app') + '/' + realPath
        // 配置有参数，需要加参数添加到路由后面
        if(urlList.length) {
          // 跳转的路径本身带有参数
          if(jumpPath.indexOf('?') !== -1) {
            jumpPath += '&' + urlList.join("&");
          } else {
            jumpPath += '?'+ urlList.join("&");
          }
        }
        url = location.origin + jumpPath;
      } else {
        // 目标页面就是低代码项目本身的页面
        if(location.href.indexOf('/allin-app/') > -1) {
          url = location.origin + location.pathname.split("/allin-app/").shift() + '/allin-app'+ url;
        } else {
          url = location.origin + '/allin-app'+ url;
        }
      }
    }
    // 打开新窗口

      if (microAppData) {
        window.location.href = url;
      } else {
        router.push(jumpInfo);
      }


    }

  /* ========================== 响应 ========================== */


  /* -------------------------- 函数 -------------------------- */

    // 自定义函数 新建权限
    const customFunction_f70qy5kthq = async (params) => {
        get(`/solution-ppm/api/v2/built-in-system-ppm/permission/jcqd/create`).then(({ data })=>{
          console.log(data);
          if(data===false){
            message.info('暂无权限')
            return Promise.reject()
          }else{
            return Promise.resolve()
          }
        })
    }


    // 自定义函数 删除权限
    const customFunction_ehg83sa1du = async (params) => {
        get(`/solution-ppm/api/v2/built-in-system-ppm/permission/jcqd/remove`).then(({ data })=>{
          console.log(data);
          if(data===false){
            message.info('暂无权限')
            return Promise.reject()
          }else{
            return Promise.resolve()
          }
        })
    }

  /* ========================== 函数 ========================== */


  /* -------------------------- 页面参数 -------------------------- */

    const pageParameter_state = reactive({
        'processInstanceId': props.processInstanceId ?? route.query.processInstanceId,
    })

  /* ========================== 页面参数 ========================== */


  /* -------------------------- 组件事件处理方法 -------------------------- */

    // ---------------------------- 组件数据同步 ----------------------------
    // 处理 For循环_v5mhwi5w3b 的 systemList 属性关联
  watch(() => dataConnector_conn_pvrj2f7ird_response?.value?.data,
    () => {
      let dataList = dataConnector_conn_pvrj2f7ird_response?.value?.data

      vid_p8x7d3kl4w_props.dataSource = dataList;
    },
    {deep: true})
  // 处理 全局提示_新建项目阶段失败 的 content 属性关联
  watch(() => dataConnector_conn_uk17cw6pqk_response?.value?.message,
    () => {
      let dataList = dataConnector_conn_uk17cw6pqk_response?.value?.message

      vid_hgw3c7stdj_props.content = dataList;
    },
    {deep: true})
  // 处理 编辑_项目阶段_projectPhaseName 的 systemList 属性关联
  watch(() => dataConnector_conn_bi03ady1c8_response?.value?.dataList,
    () => {
      let dataList = dataConnector_conn_bi03ady1c8_response?.value?.dataList

      // 处理零代码生成的表格数据，将dataList展开
      const data = dataConnector_conn_bi03ady1c8_response?.value;
      if (data && 'dataList' in data && 'columnList' in data) {
        const newDataList = parseSubFromDataList(dataList);
        if (newDataList.length) {
          dataList = newDataList;
        }
      }

      vid_7q9e6sudx3_options_raw.value = dataList;
    },
    {deep: true})



















  // 处理 编辑_项目阶段_projectPhaseName 的 value 属性关联
  immediateWatch(
    () => vid_wd2r1saxfr_props?.currentRow.projectPhaseName,
    () => { c_a0ug83mxb9.b_u92u01625c = vid_wd2r1saxfr_props?.currentRow.projectPhaseName; }
  )
  // 处理 编辑_角色_checkCastingName 的 value 属性关联
  immediateWatch(
    () => vid_wd2r1saxfr_props?.currentRow.checkCastingName,
    () => { c_a0ug83mxb9.z_6rdlf569kh = vid_wd2r1saxfr_props?.currentRow.checkCastingName; }
  )
  // 处理 编辑_检查项_checkEntry 的 value 属性关联
  immediateWatch(
    () => vid_wd2r1saxfr_props?.currentRow.checkEntry,
    () => { c_a0ug83mxb9.x_6fm7c5n406 = vid_wd2r1saxfr_props?.currentRow.checkEntry; }
  )
  // 处理 项目阶段_projectPhaseName 的 systemList 属性关联
  watch(() => dataConnector_conn_bi03ady1c8_response?.value?.dataList,
    () => {
      let dataList = dataConnector_conn_bi03ady1c8_response?.value?.dataList

      // 处理零代码生成的表格数据，将dataList展开
      const data = dataConnector_conn_bi03ady1c8_response?.value;
      if (data && 'dataList' in data && 'columnList' in data) {
        const newDataList = parseSubFromDataList(dataList);
        if (newDataList.length) {
          dataList = newDataList;
        }
      }

      vid_7wwdr27l5x_options_raw.value = dataList;
    },
    {deep: true})
  // 处理 项目阶段-动作列表 的 systemList 属性关联
  watch(() => dataConnector_conn_ai7tuvfgwg_response?.value?.dataList,
    () => {
      let dataList = dataConnector_conn_ai7tuvfgwg_response?.value?.dataList

      // 处理零代码生成的表格数据，将dataList展开
      const data = dataConnector_conn_ai7tuvfgwg_response?.value;
      if (data && 'dataList' in data && 'columnList' in data) {
        const newDataList = parseSubFromDataList(dataList);
        if (newDataList.length) {
          dataList = newDataList;
        }
      }

      vid_xxlqbpuyg8_props.dataSource = dataList;
    },
    {deep: true})
  // 处理 筛选下拉框_projectPhaseName_项目阶段 的 systemList 属性关联
  watch(() => dataConnector_conn_yswb7q1p0i_response?.value?.dataList,
    () => {
      let dataList = dataConnector_conn_yswb7q1p0i_response?.value?.dataList

      // 处理零代码生成的表格数据，将dataList展开
      const data = dataConnector_conn_yswb7q1p0i_response?.value;
      if (data && 'dataList' in data && 'columnList' in data) {
        const newDataList = parseSubFromDataList(dataList);
        if (newDataList.length) {
          dataList = newDataList;
        }
      }

      vid_4sd3aumapx_options_raw.value = dataList;
    },
    {deep: true})
  // 处理 表格_3he4hrjd0l 的 systemList 属性关联
  watch(() => dataConnector_conn_yswb7q1p0i_response?.value?.dataList,
    () => {
      let dataList = dataConnector_conn_yswb7q1p0i_response?.value?.dataList

      // 处理零代码生成的表格数据，将dataList展开
      const data = dataConnector_conn_yswb7q1p0i_response?.value;
      if (data && 'dataList' in data && 'columnList' in data) {
        const newDataList = parseSubFromDataList(dataList);
        if (newDataList.length) {
          dataList = newDataList;
        }
      }

      vid_wd2r1saxfr_options_raw.value = dataList;
    },
    {deep: true})
  // 处理 表格_3he4hrjd0l 的 totalNumber 属性关联
  watch(() => dataConnector_conn_yswb7q1p0i_response?.value?.totalElements,
    () => {
      let dataList = dataConnector_conn_yswb7q1p0i_response?.value?.totalElements

      vid_wd2r1saxfr_props.totalNumber = dataList;
    },
    {deep: true})
  // 处理 milepost下拉框_zpfuxrqx6m 的 systemList 属性关联
  watch(() => dataConnector_conn_0gojkru37r_response?.value?.data,
    () => {
      let dataList = dataConnector_conn_0gojkru37r_response?.value?.data

      vid_6la7jnxlki_options_raw.value = dataList;
    },
    {deep: true})
  // 处理 表格_enciofxlvm 的 systemList 属性关联
  watch(() => dataConnector_conn_g8fuka5xo0_response?.value?.data?.dataList,
    () => {
      let dataList = dataConnector_conn_g8fuka5xo0_response?.value?.data?.dataList

      // 处理零代码生成的表格数据，将dataList展开
      const data = dataConnector_conn_g8fuka5xo0_response?.value?.data;
      if (data && 'dataList' in data && 'columnList' in data) {
        const newDataList = parseSubFromDataList(dataList);
        if (newDataList.length) {
          dataList = newDataList;
        }
      }

      vid_4opoeq0k2i_options_raw.value = dataList;
    },
    {deep: true})
  // 处理 表格_enciofxlvm 的 totalNumber 属性关联
  watch(() => dataConnector_conn_g8fuka5xo0_response?.value?.data?.totalElements,
    () => {
      let dataList = dataConnector_conn_g8fuka5xo0_response?.value?.data?.totalElements

      vid_4opoeq0k2i_props.totalNumber = dataList;
    },
    {deep: true})
  // 处理 树形控件_usbgmzbh2o 的 systemList 属性关联
  watch(() => dataConnector_conn_7xqcgisotp_response?.value?.data,
    () => {
      let dataList = dataConnector_conn_7xqcgisotp_response?.value?.data

      vid_h44ml6bbeu_options_raw.value = dataList;
    },
    {deep: true})
    // ============================ 组件数据同步 ============================

  /**
  * 处理元素 对话框 的 cancel 事件
  */
  let handle_vid_kg1vwvmfe2_cancel = throttle(async (...params) => {
  vid_kg1vwvmfe2_props.visible = false;
  }, 500)
  /**
  * 处理元素 对话框 的 ok 事件
  */
  let handle_vid_kg1vwvmfe2_ok = throttle(async (...params) => {
  vid_kg1vwvmfe2_props.visible = false;
  }, 500)
  /**
  * 处理元素 对话框 的 cancel 事件
  */
  let handle_vid_e55vv2sjxj_cancel = throttle(async (...params) => {
  vid_e55vv2sjxj_props.visible = false;
  }, 500)
  /**
  * 处理元素 对话框 的 ok 事件
  */
  let handle_vid_e55vv2sjxj_ok = throttle(async (...params) => {
  vid_e55vv2sjxj_props.visible = false;
  await dataConnector_conn_7l3k1na3dk()
  response_t9amwg8oue()
  }, 500)
  /**
  * 处理元素 对话框 的 cancel 事件
  */
  let handle_vid_ddjbavkhmg_cancel = throttle(async (...params) => {
  vid_ddjbavkhmg_props.visible = false;
  await dataConnector_conn_ji08hzh3we()
  }, 500)
  /**
  * 处理元素 对话框 的 ok 事件
  */
  let handle_vid_ddjbavkhmg_ok = throttle(async (...params) => {
  vid_ddjbavkhmg_props.visible = false;
  await dataConnector_conn_96okqn5b14()
  response_ojnx8huze7()
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_7q9e6sudx3_change = throttle(async (...params) => {
  const [,option] = params;
  vid_7q9e6sudx3_props.selected.label = option?.label;
  vid_7q9e6sudx3_props.selected.value = option?.value;
  vid_7q9e6sudx3_props.selected.option = option;
  vid_7q9e6sudx3_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_7q9e6sudx3_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_7q9e6sudx3_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_4356iqyj6d_change = throttle(async (...params) => {
  const [,option] = params;
  vid_4356iqyj6d_props.selected.label = option?.label;
  vid_4356iqyj6d_props.selected.value = option?.value;
  vid_4356iqyj6d_props.selected.option = option;
  vid_4356iqyj6d_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_4356iqyj6d_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_4356iqyj6d_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 对话框 的 cancel 事件
  */
  let handle_vid_pigah55qkg_cancel = throttle(async (...params) => {
  vid_pigah55qkg_props.visible = false;
  // 这里组件可能还未初始化， 这里使用可选链的形式进行函数触发
  vid_ymqc3nadzc_ref.value?.reset();
  }, 500)
  /**
  * 处理元素 对话框 的 ok 事件
  */
  let handle_vid_pigah55qkg_ok = throttle(async (...params) => {
  // 这里组件可能还未初始化， 这里使用可选链的形式进行函数触发
  await vid_09oyeltabw_ref.value?.validateFields();
  await dataConnector_conn_dqalhlb98f()
  response_qll3ahx0fe()
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_y9392nh2cx_change = throttle(async (...params) => {
  const [,option] = params;
  vid_y9392nh2cx_props.selected.label = option?.label;
  vid_y9392nh2cx_props.selected.value = option?.value;
  vid_y9392nh2cx_props.selected.option = option;
  vid_y9392nh2cx_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_y9392nh2cx_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_y9392nh2cx_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_7wwdr27l5x_change = throttle(async (...params) => {
  const [,option] = params;
  vid_7wwdr27l5x_props.selected.label = option?.label;
  vid_7wwdr27l5x_props.selected.value = option?.value;
  vid_7wwdr27l5x_props.selected.option = option;
  vid_7wwdr27l5x_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_7wwdr27l5x_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_7wwdr27l5x_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 对话框 的 cancel 事件
  */
  let handle_vid_lrxsz8ple6_cancel = throttle(async (...params) => {
  vid_lrxsz8ple6_props.visible = false;
  }, 500)
  /**
  * 处理元素 对话框 的 ok 事件
  */
  let handle_vid_lrxsz8ple6_ok = throttle(async (...params) => {
  // 这里组件可能还未初始化， 这里使用可选链的形式进行函数触发
  await vid_pbzqm0whoi_ref.value?.validateFields();
  await dataConnector_conn_uk17cw6pqk()
  response_xzmb8hkcl2()
  }, 500)
  /**
  * 处理元素 动作列表 的 delete 事件
  */
  let handle_vid_xxlqbpuyg8_delete = throttle(async (...params) => {
  }, 500)
  /**
  * 处理元素 按钮 的 click 事件
  */
  let handle_vid_qmenr57old_click = throttle(async (...params) => {
  await customFunction_f70qy5kthq();
  vid_pigah55qkg_props.visible = true;
  }, 500)
  /**
  * 处理元素 按钮 的 click 事件
  */
  let handle_vid_eafpxm3q82_click = throttle(async (...params) => {
  vid_lrxsz8ple6_props.visible = true;
  await dataConnector_conn_ai7tuvfgwg()
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_hjfar9hawx_change = throttle(async (...params) => {
  const [,option] = params;
  vid_hjfar9hawx_props.selected.label = option?.label;
  vid_hjfar9hawx_props.selected.value = option?.value;
  vid_hjfar9hawx_props.selected.option = option;
  vid_hjfar9hawx_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_hjfar9hawx_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_hjfar9hawx_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 按钮 的 click 事件
  */
  let handle_vid_x2rxfdv73k_click = throttle(async (...params) => {
  await dataConnector_conn_yswb7q1p0i()
  }, 500)
  /**
  * 处理元素 按钮 的 click 事件
  */
  let handle_vid_w9e87c5ftm_click = throttle(async (...params) => {
  // 这里组件可能还未初始化， 这里使用可选链的形式进行函数触发
  try {
  await vid_fax4o6qk1f_ref.value?.resetFields();
  } catch (error) { console.log(error);}
  await dataConnector_conn_yswb7q1p0i()
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_4sd3aumapx_change = throttle(async (...params) => {
  const [,option] = params;
  vid_4sd3aumapx_props.selected.label = option?.label;
  vid_4sd3aumapx_props.selected.value = option?.value;
  vid_4sd3aumapx_props.selected.option = option;
  vid_4sd3aumapx_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_4sd3aumapx_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_4sd3aumapx_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_tdgmgimmsf 事件
  */
  let handle_vid_wd2r1saxfr_clickBtn_tdgmgimmsf = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_wd2r1saxfr_props.currentRow = record;
  response_oehuit46te()
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_j2v839jycl 事件
  */
  let handle_vid_wd2r1saxfr_clickBtn_j2v839jycl = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_wd2r1saxfr_props.currentRow = record;
  await customFunction_ehg83sa1du();
  vid_e55vv2sjxj_props.visible = true;
  }, 500)
  /**
  * 处理元素 表格 的 change 事件
  */
  let handle_vid_wd2r1saxfr_change = throttle(async (...params) => {
  // 处理分页器相关数据
  const [pagination, filters, sorter] = params;
  const { current, pageSize } = pagination;
  vid_wd2r1saxfr_props.rt_tableConfig.pagination.current = current;
  vid_wd2r1saxfr_props.rt_tableConfig.pagination.pageSize = pageSize;
  // 处理排序相关数据
  const { field, order } = sorter;
  const sorterList = [...vid_wd2r1saxfr_props.rowMergeSort];
  let sorterValue = {};
  if (order === 'descend') {
  sorterValue = { order: field, direction: 'DESC' }
  } else if (order === 'ascend') {
  sorterValue = { order: field, direction: 'ASC' }
  }
  sorterList.push(sorterValue);
  vid_wd2r1saxfr_props.systemSort = sorterList;
  vid_wd2r1saxfr_props.sorter = sorterValue;
  await dataConnector_conn_yswb7q1p0i()
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_cpdcd44mua 事件
  */
  let handle_vid_wd2r1saxfr_clickBtn_cpdcd44mua = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_wd2r1saxfr_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_2aibg08ay2 事件
  */
  let handle_vid_wd2r1saxfr_clickBtn_2aibg08ay2 = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_wd2r1saxfr_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_xt3e7k6skf 事件
  */
  let handle_vid_wd2r1saxfr_clickBtn_xt3e7k6skf = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_wd2r1saxfr_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 树形控件 的 select 事件
  */
  let handle_vid_suuil4h48d_select = throttle(async (...params) => {
  const [selectedKeys, e] = params;
  const { selectedNodes = [], node = {} } = e, [singleValue] = selectedKeys, [singleNode] = selectedNodes;
  const { parent = {} } = node;
  vid_suuil4h48d_props.selected.title = selectedNodes.map((item) => item.title) ?? [];
  vid_suuil4h48d_props.selected.value = selectedKeys;
  vid_suuil4h48d_props.selected.option = selectedNodes;
  vid_suuil4h48d_props.selected.singleValue = singleValue;
  vid_suuil4h48d_props.selected.singleLabel = singleNode?.title ?? '';
  // 存储树节点数据
  vid_suuil4h48d_props.clickNode.nodeParentKey = parent?.key ?? node?.key ?? '';
  vid_suuil4h48d_props.clickNode.nodeKey = node?.key ?? '';
  vid_suuil4h48d_props.clickNode.nodeTitle = node?.title ?? '';
  await dataConnector_conn_yswb7q1p0i()
  await dataConnector_conn_ai7tuvfgwg()
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_ffg8o0dcja_change = throttle(async (...params) => {
  const [,option] = params;
  vid_ffg8o0dcja_props.selected.label = option?.label;
  vid_ffg8o0dcja_props.selected.value = option?.value;
  vid_ffg8o0dcja_props.selected.option = option;
  vid_ffg8o0dcja_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_ffg8o0dcja_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_ffg8o0dcja_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 按钮 的 click 事件
  */
  let handle_vid_2l6v2ft5ct_click = throttle(async (...params) => {
  await dataConnector_conn_g8fuka5xo0()
  }, 500)
  /**
  * 处理元素 按钮 的 click 事件
  */
  let handle_vid_sh3hvfv5bp_click = throttle(async (...params) => {
  // 这里组件可能还未初始化， 这里使用可选链的形式进行函数触发
  try {
  await vid_oq7irv2rjs_ref.value?.resetFields();
  } catch (error) { console.log(error);}
  await dataConnector_conn_g8fuka5xo0()
  }, 500)
  /**
  * 处理元素 下拉框 的 focus 事件
  */
  let handle_vid_6la7jnxlki_focus = throttle(async (...params) => {
  await dataConnector_conn_0gojkru37r()
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_6la7jnxlki_change = throttle(async (...params) => {
  const [,option] = params;
  vid_6la7jnxlki_props.selected.label = option?.label;
  vid_6la7jnxlki_props.selected.value = option?.value;
  vid_6la7jnxlki_props.selected.option = option;
  vid_6la7jnxlki_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_6la7jnxlki_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_6la7jnxlki_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_tdgmgimmsf 事件
  */
  let handle_vid_4opoeq0k2i_clickBtn_tdgmgimmsf = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_4opoeq0k2i_props.currentRow = record;
  await dataConnector_conn_pvrj2f7ird()
  vid_kg1vwvmfe2_props.visible = true;
  }, 500)
  /**
  * 处理元素 表格 的 change 事件
  */
  let handle_vid_4opoeq0k2i_change = throttle(async (...params) => {
  // 处理分页器相关数据
  const [pagination, filters, sorter] = params;
  const { current, pageSize } = pagination;
  vid_4opoeq0k2i_props.rt_tableConfig.pagination.current = current;
  vid_4opoeq0k2i_props.rt_tableConfig.pagination.pageSize = pageSize;
  // 处理排序相关数据
  const { field, order } = sorter;
  const sorterList = [...vid_4opoeq0k2i_props.rowMergeSort];
  let sorterValue = {};
  if (order === 'descend') {
  sorterValue = { order: field, direction: 'DESC' }
  } else if (order === 'ascend') {
  sorterValue = { order: field, direction: 'ASC' }
  }
  sorterList.push(sorterValue);
  vid_4opoeq0k2i_props.systemSort = sorterList;
  vid_4opoeq0k2i_props.sorter = sorterValue;
  await dataConnector_conn_g8fuka5xo0()
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_j2v839jycl 事件
  */
  let handle_vid_4opoeq0k2i_clickBtn_j2v839jycl = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_4opoeq0k2i_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_cpdcd44mua 事件
  */
  let handle_vid_4opoeq0k2i_clickBtn_cpdcd44mua = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_4opoeq0k2i_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_2aibg08ay2 事件
  */
  let handle_vid_4opoeq0k2i_clickBtn_2aibg08ay2 = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_4opoeq0k2i_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_xt3e7k6skf 事件
  */
  let handle_vid_4opoeq0k2i_clickBtn_xt3e7k6skf = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_4opoeq0k2i_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 输入框 的 change 事件
  */
  let handle_vid_nbb1aplepq_change = throttle(async (...params) => {
  await dataConnector_conn_7xqcgisotp()
  }, 500)
  /**
  * 处理元素 树形控件 的 select 事件
  */
  let handle_vid_h44ml6bbeu_select = throttle(async (...params) => {
  const [selectedKeys, e] = params;
  const { selectedNodes = [], node = {} } = e, [singleValue] = selectedKeys, [singleNode] = selectedNodes;
  const { parent = {} } = node;
  vid_h44ml6bbeu_props.selected.title = selectedNodes.map((item) => item.name) ?? [];
  vid_h44ml6bbeu_props.selected.value = selectedKeys;
  vid_h44ml6bbeu_props.selected.option = selectedNodes;
  vid_h44ml6bbeu_props.selected.singleValue = singleValue;
  vid_h44ml6bbeu_props.selected.singleLabel = singleNode?.title ?? '';
  // 存储树节点数据
  vid_h44ml6bbeu_props.clickNode.nodeParentKey = parent?.key ?? node?.key ?? '';
  vid_h44ml6bbeu_props.clickNode.nodeKey = node?.key ?? '';
  vid_h44ml6bbeu_props.clickNode.nodeTitle = node?.title ?? '';
  await dataConnector_conn_g8fuka5xo0()
  }, 500)
  /* ========================== 组件事件处理方法 ========================== */


  /* -------------------------- 生命周期 -------------------------- */
  // 用于参数变更后重新执行自定义指令
      const queryUpdateFlag = ref(0);
      onMounted(() => { ;dataConnector_conn_7xqcgisotp()

    });

    onUnmounted(() => {
      // 销毁定时器
      setTimeOutList.forEach(({ repeat, timer }) => {
        repeat ?  clearInterval(timer): clearTimeout(timer);
      });
    });

  /* ========================== 生命周期 ========================== */


  /* -------------------------- 数据关联处理 -------------------------- */

      // 处理 全局提示_新建成功 全局消息
        immediateWatch(
            () => vid_8k457tsf68_props.show,
            () => {
                if (vid_8k457tsf68_props.show) {
                    message[vid_8k457tsf68_props.type](vid_8k457tsf68_props.content, vid_8k457tsf68_props.duration, () => {
                        vid_8k457tsf68_props.show = false
                    })
                }
            }
        )
  // 处理 全局提示_删除成功 全局消息
        immediateWatch(
            () => vid_isa30wea4v_props.show,
            () => {
                if (vid_isa30wea4v_props.show) {
                    message[vid_isa30wea4v_props.type](vid_isa30wea4v_props.content, vid_isa30wea4v_props.duration, () => {
                        vid_isa30wea4v_props.show = false
                    })
                }
            }
        )
  // 处理 全局提示_编辑成功 全局消息
        immediateWatch(
            () => vid_d9aew7dpdy_props.show,
            () => {
                if (vid_d9aew7dpdy_props.show) {
                    message[vid_d9aew7dpdy_props.type](vid_d9aew7dpdy_props.content, vid_d9aew7dpdy_props.duration, () => {
                        vid_d9aew7dpdy_props.show = false
                    })
                }
            }
        )
  // 处理 全局提示_新增项目阶段成功 全局消息
        immediateWatch(
            () => vid_iurm9mmrsf_props.show,
            () => {
                if (vid_iurm9mmrsf_props.show) {
                    message[vid_iurm9mmrsf_props.type](vid_iurm9mmrsf_props.content, vid_iurm9mmrsf_props.duration, () => {
                        vid_iurm9mmrsf_props.show = false
                    })
                }
            }
        )
  // 处理 全局提示_新建失败 全局消息
        immediateWatch(
            () => vid_xxdeqpwu5q_props.show,
            () => {
                if (vid_xxdeqpwu5q_props.show) {
                    message[vid_xxdeqpwu5q_props.type](vid_xxdeqpwu5q_props.content, vid_xxdeqpwu5q_props.duration, () => {
                        vid_xxdeqpwu5q_props.show = false
                    })
                }
            }
        )
  // 处理 全局提示_删除失败 全局消息
        immediateWatch(
            () => vid_z4rzrzijcy_props.show,
            () => {
                if (vid_z4rzrzijcy_props.show) {
                    message[vid_z4rzrzijcy_props.type](vid_z4rzrzijcy_props.content, vid_z4rzrzijcy_props.duration, () => {
                        vid_z4rzrzijcy_props.show = false
                    })
                }
            }
        )
  // 处理 全局提示_编辑失败 全局消息
        immediateWatch(
            () => vid_400a984c5f_props.show,
            () => {
                if (vid_400a984c5f_props.show) {
                    message[vid_400a984c5f_props.type](vid_400a984c5f_props.content, vid_400a984c5f_props.duration, () => {
                        vid_400a984c5f_props.show = false
                    })
                }
            }
        )
  // 处理 全局提示_新建项目阶段失败 全局消息
        immediateWatch(
            () => vid_hgw3c7stdj_props.show,
            () => {
                if (vid_hgw3c7stdj_props.show) {
                    message[vid_hgw3c7stdj_props.type](vid_hgw3c7stdj_props.content, vid_hgw3c7stdj_props.duration, () => {
                        vid_hgw3c7stdj_props.show = false
                    })
                }
            }
        )



  /* -------------------------- 表单数据同步 -------------------------- */
  /* ========================== 表单数据同步 ========================== */

  /* ========================== 数据关联处理 ========================== */


  /* -------------------------- 不同组件自定义的处理逻辑 -------------------------- */
  immediateWatch(
    () => [c_a0ug83mxb9?.b_u92u01625c, vid_7q9e6sudx3_options?.value()],
    () => {
      if(!!handle_vid_7q9e6sudx3_change) {
      const options = (vid_7q9e6sudx3_options?.value() || []).find((item) => item.value === c_a0ug83mxb9?.b_u92u01625c || item.label === c_a0ug83mxb9?.b_u92u01625c )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_7q9e6sudx3_change(c_a0ug83mxb9?.b_u92u01625c, {...options} || {})
      }
    }
  )
  immediateWatch(
    () => [c_a0ug83mxb9?.z_6rdlf569kh, vid_4356iqyj6d_options?.value()],
    () => {
      if(!!handle_vid_4356iqyj6d_change) {
      const options = (vid_4356iqyj6d_options?.value() || []).find((item) => item.value === c_a0ug83mxb9?.z_6rdlf569kh || item.label === c_a0ug83mxb9?.z_6rdlf569kh )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_4356iqyj6d_change(c_a0ug83mxb9?.z_6rdlf569kh, {...options} || {})
      }
    }
  )
  immediateWatch(
    () => [r_o4qgx6bmyj?.checkCastingId, vid_y9392nh2cx_options?.value()],
    () => {
      if(!!handle_vid_y9392nh2cx_change) {
      const options = (vid_y9392nh2cx_options?.value() || []).find((item) => item.value === r_o4qgx6bmyj?.checkCastingId || item.label === r_o4qgx6bmyj?.checkCastingId )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_y9392nh2cx_change(r_o4qgx6bmyj?.checkCastingId, {...options} || {})
      }
    }
  )
  immediateWatch(
    () => [r_o4qgx6bmyj?.projectPhaseId, vid_7wwdr27l5x_options?.value()],
    () => {
      if(!!handle_vid_7wwdr27l5x_change) {
      const options = (vid_7wwdr27l5x_options?.value() || []).find((item) => item.value === r_o4qgx6bmyj?.projectPhaseId || item.label === r_o4qgx6bmyj?.projectPhaseId )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_7wwdr27l5x_change(r_o4qgx6bmyj?.projectPhaseId, {...options} || {})
      }
    }
  )
  immediateWatch(
    () => [y_394qp8081f?.o_hpzp036oud, vid_hjfar9hawx_options?.value()],
    () => {
      if(!!handle_vid_hjfar9hawx_change) {
      const options = (vid_hjfar9hawx_options?.value() || []).find((item) => item.value === y_394qp8081f?.o_hpzp036oud || item.label === y_394qp8081f?.o_hpzp036oud )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_hjfar9hawx_change(y_394qp8081f?.o_hpzp036oud, {...options} || {})
      }
    }
  )
  immediateWatch(
    () => [y_394qp8081f?.q_mz6by1rasv, vid_4sd3aumapx_options?.value()],
    () => {
      if(!!handle_vid_4sd3aumapx_change) {
      const options = (vid_4sd3aumapx_options?.value() || []).find((item) => item.value === y_394qp8081f?.q_mz6by1rasv || item.label === y_394qp8081f?.q_mz6by1rasv )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_4sd3aumapx_change(y_394qp8081f?.q_mz6by1rasv, {...options} || {})
      }
    }
  )
  onMounted(() => {
    const rawColumnList = []
    traversalTreeStructure(vid_wd2r1saxfr_props.columnList, (node) => {
      if (node.type === 'column') {
        rawColumnList.push(node)
      }
    });
    
    // 获取缓存的表格列宽度，处理列宽信息
    UserTableRecords.getTableRecords(localGet('al__UID')).then((res) => {
      const columnWidthMap = res['vid_wd2r1saxfr'] ?? {};
      rawColumnList.map((column) => {
        if(columnWidthMap[column.dataIndex]) {
          column.width = columnWidthMap[column.dataIndex]
        }
      })
    });
    
    vid_wd2r1saxfr_props.rawColumnList = rawColumnList;
  })
  // 生成表格列：相同分组的数据需要合并单元格
  const vid_wd2r1saxfr_columns = computed(() => {
    // 需要合并单元格的列
    const groupKeys = [];

    // 将表头配置按照groupTitle字段进行分组，以实现多级表头
    const columnList = [...vid_wd2r1saxfr_props.columnList];
    function formatColumns(columns) {
      columns.forEach(item => {
        const { dataIndex, contentAlign, children, customCellStyle } = item;
        // 如果当前列是分组列，则递归处理它的子列，当前列本身不作处理
        if (!dataIndex && children && children.length) {
          formatColumns(children);
          return;
        }

        const groupIndex = groupKeys.findIndex(item => item === dataIndex);
        // 如果当前字段属于分组字段，则给它添加合并单元格的配置，否则直接返回
        if (groupIndex === -1) {
          item.customCell = (record, index) => {
            return { style: { 'text-align': contentAlign, ...(customCellStyle || {}) } };
          };
        } else {
          item.customCell = (record, index) => {
            const rowGroupKeys = groupKeys.slice(0, groupIndex + 1);
            const rowSpanList = generateRowSpanList(vid_wd2r1saxfr_options.value(), rowGroupKeys,vid_wd2r1saxfr_props.editRecordMap);
            return { rowSpan: rowSpanList[index], style: { 'text-align': contentAlign, ...(customCellStyle || {}) } };
          };
        }
      })
    }

    // 格式化column：增加合并单元格的配置，以及自定义样式
    formatColumns(columnList);

    return columnList;
  });


    // 表格分页器信息：将总条数信息加到基础分页信息中
    const vid_wd2r1saxfr_pagination = computed(() => {
      const { totalNumber, rt_tableConfig } = vid_wd2r1saxfr_props;
      const {
        enable = true,
        current= 1,
        pageSize= 10,
        showSizeChanger= false,
        pageSizeOptions= '10,20,30,40',
        showTotal= false,
        showQuickJumper= false,
        simple= false,
        hideOnSinglePage= false,
      } = rt_tableConfig.pagination ?? {};
      const { size = 'default', layout='bottomRight' } = rt_tableConfig?.style?.paginationStyle || {}
      let info = {};
      if(enable) {
        info = {
          total: totalNumber || 0,
          pageSize,
          size,
          simple,
          current,
          showSizeChanger,
          pageSizeOptions: pageSizeOptions.split(','),
          showQuickJumper,
          hideOnSinglePage,
          position: [layout],
        }
        if(showTotal) {
          info.showTotal = (total, range) => `共${total}个项目，第${current}/${Math.ceil(total / pageSize)}页`
        }
        return info;
      }
      return false;
    })


        // 补充一个watch，用于监听删除最后一页最后一条数据的情况，然后重新加载数据
        watch(() => dataConnector_conn_yswb7q1p0i_response?.value?.dataList, (newValue) => {
          const current = vid_wd2r1saxfr_props.rt_tableConfig.pagination.current;
          if (!newValue?.length && current > 1) {
            vid_wd2r1saxfr_props.rt_tableConfig.pagination.current = current - 1;
            dataConnector_conn_yswb7q1p0i();
          }
        });
  const vid_suuil4h48d_style = computed(() => {
        return { "--background-hover": "#F5F5F5", "--background-select": "#EBF1FF" }
      });


      const vid_suuil4h48d_style_span = computed(() => {
        return { marginLeft: '2px', color: "#595959" }
      });
  immediateWatch(
    () => [k_53yicmgf55?.y_fv5t88pibx, vid_ffg8o0dcja_options?.value()],
    () => {
      if(!!handle_vid_ffg8o0dcja_change) {
      const options = (vid_ffg8o0dcja_options?.value() || []).find((item) => item.value === k_53yicmgf55?.y_fv5t88pibx || item.label === k_53yicmgf55?.y_fv5t88pibx )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_ffg8o0dcja_change(k_53yicmgf55?.y_fv5t88pibx, {...options} || {})
      }
    }
  )
  immediateWatch(
    () => [k_53yicmgf55?.o_5lhugmx6z3, vid_6la7jnxlki_options?.value()],
    () => {
      if(!!handle_vid_6la7jnxlki_change) {
      const options = (vid_6la7jnxlki_options?.value() || []).find((item) => item.value === k_53yicmgf55?.o_5lhugmx6z3 || item.label === k_53yicmgf55?.o_5lhugmx6z3 )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_6la7jnxlki_change(k_53yicmgf55?.o_5lhugmx6z3, {...options} || {})
      }
    }
  )
  onMounted(() => {
    const rawColumnList = []
    traversalTreeStructure(vid_4opoeq0k2i_props.columnList, (node) => {
      if (node.type === 'column') {
        rawColumnList.push(node)
      }
    });
    
    // 获取缓存的表格列宽度，处理列宽信息
    UserTableRecords.getTableRecords(localGet('al__UID')).then((res) => {
      const columnWidthMap = res['vid_4opoeq0k2i'] ?? {};
      rawColumnList.map((column) => {
        if(columnWidthMap[column.dataIndex]) {
          column.width = columnWidthMap[column.dataIndex]
        }
      })
    });
    
    vid_4opoeq0k2i_props.rawColumnList = rawColumnList;
  })
  // 生成表格列：相同分组的数据需要合并单元格
  const vid_4opoeq0k2i_columns = computed(() => {
    // 需要合并单元格的列
    const groupKeys = [];

    // 将表头配置按照groupTitle字段进行分组，以实现多级表头
    const columnList = [...vid_4opoeq0k2i_props.columnList];
    function formatColumns(columns) {
      columns.forEach(item => {
        const { dataIndex, contentAlign, children, customCellStyle } = item;
        // 如果当前列是分组列，则递归处理它的子列，当前列本身不作处理
        if (!dataIndex && children && children.length) {
          formatColumns(children);
          return;
        }

        const groupIndex = groupKeys.findIndex(item => item === dataIndex);
        // 如果当前字段属于分组字段，则给它添加合并单元格的配置，否则直接返回
        if (groupIndex === -1) {
          item.customCell = (record, index) => {
            return { style: { 'text-align': contentAlign, ...(customCellStyle || {}) } };
          };
        } else {
          item.customCell = (record, index) => {
            const rowGroupKeys = groupKeys.slice(0, groupIndex + 1);
            const rowSpanList = generateRowSpanList(vid_4opoeq0k2i_options.value(), rowGroupKeys,vid_4opoeq0k2i_props.editRecordMap);
            return { rowSpan: rowSpanList[index], style: { 'text-align': contentAlign, ...(customCellStyle || {}) } };
          };
        }
      })
    }

    // 格式化column：增加合并单元格的配置，以及自定义样式
    formatColumns(columnList);

    return columnList;
  });


    // 表格分页器信息：将总条数信息加到基础分页信息中
    const vid_4opoeq0k2i_pagination = computed(() => {
      const { totalNumber, rt_tableConfig } = vid_4opoeq0k2i_props;
      const {
        enable = true,
        current= 1,
        pageSize= 10,
        showSizeChanger= false,
        pageSizeOptions= '10,20,30,40',
        showTotal= false,
        showQuickJumper= false,
        simple= false,
        hideOnSinglePage= false,
      } = rt_tableConfig.pagination ?? {};
      const { size = 'default', layout='bottomRight' } = rt_tableConfig?.style?.paginationStyle || {}
      let info = {};
      if(enable) {
        info = {
          total: totalNumber || 0,
          pageSize,
          size,
          simple,
          current,
          showSizeChanger,
          pageSizeOptions: pageSizeOptions.split(','),
          showQuickJumper,
          hideOnSinglePage,
          position: [layout],
        }
        if(showTotal) {
          info.showTotal = (total, range) => `共${total}个项目，第${current}/${Math.ceil(total / pageSize)}页`
        }
        return info;
      }
      return false;
    })


        // 补充一个watch，用于监听删除最后一页最后一条数据的情况，然后重新加载数据
        watch(() => dataConnector_conn_g8fuka5xo0_response?.value?.data?.dataList, (newValue) => {
          const current = vid_4opoeq0k2i_props.rt_tableConfig.pagination.current;
          if (!newValue?.length && current > 1) {
            vid_4opoeq0k2i_props.rt_tableConfig.pagination.current = current - 1;
            dataConnector_conn_g8fuka5xo0();
          }
        });
  const vid_h44ml6bbeu_style = computed(() => {
        return { "--background-hover": "#F5F5F5", "--background-select": "#EBF1FF" }
      });


      const vid_h44ml6bbeu_style_span = computed(() => {
        return { marginLeft: '2px', color: "#595959" }
      });
  /**
   * 生成分组字段合并单元格的配置：返回值为一个数字数组，数组里面每一项即为该字段当前行的rowSpan配置
   * @param {Array} 表格中的数据
   * @param {Array} 当前分组字段的列表，注：为了保证优先级低的字段合并后是优先级高的字段合并后的子集，需要把比该字段优先级高的分组字段按顺序放在该字段前面；例如：所有分组字段列表为['grade', 'age', 'score']，要生成age字段的合并单元格配置，则该参数需要传['grade', 'age']
   * @returns {Array} 该字段合并单元格的rowSpan配置，例：[1, 1, 2, 0, 1]
   */
  function generateRowSpanList(dataSource, groupKeys,editRecordMap) {
    if (!dataSource || !dataSource.length) {
      return [];
    }

    const rowSpanList = [];

    // 判断单元格是否需要合并的临时值：使用表格数据最后一行进行初始化（表格数据的遍历是倒序进行的）
    let tempValue = getGroupValue(dataSource[dataSource.length - 1], groupKeys);
    // 记录需要合并单元格的数量
    let tempValueCount = 0;

    // 倒序遍历数组，以保证使用最前面一条数据合并单元格
    for (let index = dataSource.length - 1; index >= 0; index--) {
      rowSpanList[index] = 0;
      const groupValue = getGroupValue(dataSource[index], groupKeys);
      // 如果当前行的分组数据跟上一行一致，则将标记数量加一；否则将标记数量的当前值赋给上一条数据，并重置临时值和标记数量
      if(editRecordMap && editRecordMap[index]){ //如果当前行是编辑行
        rowSpanList[index + 1] = tempValueCount;
        tempValue = "";
        tempValueCount=1;
      }
      else if (groupValue === tempValue) {
        tempValueCount++;
      } else {
        rowSpanList[index + 1] = tempValueCount;
        tempValue = groupValue;
        tempValueCount = 1;
      }

      // 遍历到最后一行，将当前的标记数量赋给当前行
      if (index === 0) {
        rowSpanList[index] = tempValueCount;
      }
    }

    return rowSpanList;
  }

  /**
   * 根据分组字段列表生成当前数据行的分组值
   * @param {Object} 当前数据行
   * @param {Array} 分组字段列表
   * @returns {String} 拼装的当前数据行的分组值，例：record为{ age: 7, grade: '一年级', name: '小赵' }，groupKeys为['grade', 'age']，则拼装后的返回值为'一年级__$__7'
   */
  function getGroupValue(record, groupKeys) {
    const groupValueList = [];
    groupKeys.forEach(groupKey => {
      let val = record[groupKey]
      if (isArray(val)) {
        val = record[groupKey + '_labels']
      } else if (isObject(val)) {
        console.warn('警告表格列数据为object，可能导致行合并异常，列key为：'+ groupKey,val)
      }
      groupValueList.push(`${val}`);
    });
    return groupValueList.join('__$__');
  }

  /**
   * 将列表数据转换成树状数据
   * @param {Array} 原始的列表数据
   * @param {String|Number} 列表数据的唯一key
   * @param {String|Number} 列表数据转成树时的父级id
  */
  function convertListToTree(list, key, parentKey) {
    const clonedList = cloneDeep(list || []);

    // 遍历列表数据，生成树节点的map：key为列表数据的唯一key，value为列表当前行的数据
    const treeNodeMap = {};
    clonedList.forEach(item => {
      treeNodeMap[item[key]] = item;
    });

    const treeDataList = [];
    clonedList.forEach(item => {
      // 如果当前行数据的父级id不在树节点的map中，则当前数据为根节点数据，将其加入最终树形数据的列表；否则将其放入其父节点数据的children中
      if (!treeNodeMap[item[parentKey]]) {
        treeDataList.push(item);
      } else {
        if (!treeNodeMap[item[parentKey]].children) {
          treeNodeMap[item[parentKey]].children = [];
        }
        treeNodeMap[item[parentKey]].children.push(item);
      }
    });

    return treeDataList;
  }

  /**
   * 表格列宽伸缩处理，使用indexedDB缓存伸缩后的列宽度
   */
  const handleResizeColumn = (w, col, vid) => {
    col.width = w;
    
    UserTableRecords.saveTableRecords(col, localGet('al__UID'), vid)
    
  }
  /* ========================== 不同组件自定义的处理逻辑 ========================== */


  // ================================定制化逻辑========================================
  const userInfoStorage= localStorage.getItem('al__USER_INFO');
  if(userInfoStorage){
    try {
      const  userInfo  = JSON.parse(userInfoStorage);
      vid_a4l37fbsov_props.value = userInfo.value.name;
    } catch(error) {
      console.log(error)
    }
  }
</script>
<style lang="less" scoped>
  .page_root {
  width: 100%;
  height: 100%;
  overflow: auto;
  }
  .page_root :deep(.@{ant-prefix}-spin-nested-loading),
  .page_root :deep(.@{ant-prefix}-spin-container)
   {
      height: 100%;
  }
  .page_root :deep(.@{ant-prefix}-spin-container .@{ant-prefix}-table-wrapper)
   {
      display: flex;
      flex-flow: column nowrap;
      justify-content: flex-start;
  }
  .page_root :deep(.@{ant-prefix}-table)
   {
    flex: auto;
    overflow: auto;
  }
  .table-moreBtn_down {
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 100px;
  }

  .table-moreBtn_menu :deep(.table-moreBtn_menu-item):hover {
    background: #ebf1ff;
  }

  /*  表格树结构样式处理，展开按钮层级增加*/
  :deep(.@{ant-prefix}-table-row-expand-icon) {
    z-index: 1;
  }
  /*  表格树结构 由于每个表格项采用自定义组件，使用绝对定位布局，开启树结构导致显示异常，暂时使用层级定位位置 */
  :deep(.@{ant-prefix}-table-row-level-1 .@{ant-prefix}-table-cell-with-append .cell-wrapper-left) {
    left: 15px !important;
    width: calc(100% - 15px);
  }
  :deep(.@{ant-prefix}-table-row-level-2 .@{ant-prefix}-table-cell-with-append .cell-wrapper-left) {
    left: 30px !important;
    width: calc(100% - 30px);
  }
  :deep(.@{ant-prefix}-table-row-level-3 .@{ant-prefix}-table-cell-with-append .cell-wrapper-left) {
    left: 45px !important;
    width: calc(100% - 45px);
  }
  :deep(.@{ant-prefix}-table-row-level-4 .@{ant-prefix}-table-cell-with-append .cell-wrapper-left) {
    left: 60px !important;
    width: calc(100% - 60px);
  }

  /* 穿梭框改变默认样式，为根据组件样式控制左右栏宽度。 */
  :deep(.@{ant-prefix}-transfer-list)
   {
      height: 100%;
      width: 50%;
  }
  .vid_p8x7d3kl4w{
      max-height:800px;
      overflow-y:auto;
      display:flex;
      flex-direction:column;
      flex-wrap:undefined
  }
  .vid_hjp0nccbeg{
      color:rgba(38, 38, 38, 1);
      font-size:14px;
      box-shadow:0px 0px 0px 0px
  }









  .vid_7q9e6sudx3{
      width:100%
  }
  .vid_4356iqyj6d{
      width:100%
  }
  .vid_sf5g7ywj7a{
      display:flex;
      flex-direction:row;
      justify-content:flex-start;
      flex-wrap:undefined;
      margin-bottom:0px
  }
  .vid_1l4gt607tg{
      width:100%
  }
  .vid_y82p2egbmi{
      display:flex;
      flex-wrap:undefined
  }
  .vid_09oyeltabw{
      height:600px;
      overflow-y:auto
  }
  .vid_ymqc3nadzc{
      margin-left:0px;
      padding-left:0px
  }
  .vid_m7hyor1trq{
      border-bottom-style:solid;
      border-bottom-width:1px;
      border-bottom-color:#D5D5D5
  }
  .vid_bi2ptygamn{
      width:100%
  }
  .vid_xmklhis2cv{
      display:flex;
      flex-wrap:undefined
  }
  .vid_btvwfs6gzn{
      margin-right:16px
  }
  .vid_y9392nh2cx{
      width:100%
  }
  .vid_sq95etk7fu{
      margin-right:16px;
      margin-left:0px;
      padding-left:0px
  }
  .vid_7wwdr27l5x{
      width:100%
  }
  .vid_lrxsz8ple6{
      height:600px
  }
  .vid_7ga0lfzt6d{
      max-height:700px;
      overflow-y:auto;
      display:block
  }
  .vid_pbzqm0whoi{
      width:100%;
      box-shadow:0px 0px 0px 0px
  }
  .vid_5oj0bccjlf{
      margin-bottom:0px
  }
  .vid_x3v0agbx8s{
      display:flex;
      flex-direction:row;
      justify-content:flex-start;
      flex-wrap:undefined
  }
  .vid_ig1ox7d11w :deep(input) {
        text-decoration: undefined;
        font-weight: undefined;
        text-align: undefined;
        font-style: undefined;
        cursor: undefined;
      }
  .vid_ig1ox7d11w{
      width:100%
  }
  .vid_6erfpt4nqq{
      display:flex;
      flex-wrap:undefined
  }
  .vid_d8hn58zxa7{
      display:flex;
      flex-direction:row;
      justify-content:flex-start;
      flex-wrap:undefined
  }
  .vid_jheb06tq01{
      display:flex;
      flex-wrap:undefined
  }
  .vid_352t3vt2nj{
      width:100%;
      height:100%;
      margin-top:0px;
      padding-top:0px;
      padding-left:24px;
      background-color:#FFFFFF
  }
  .vid_352t3vt2nj:active{
      width:100%
  }
  .vid_352t3vt2nj:focus{
      width:100%
  }
  .vid_352t3vt2nj:hover{
      width:100%
  }
  .vid_d5prqg7c16{
      height:100%;
      display:block
  }
  .vid_fax4o6qk1f{
      width:100%;
      box-shadow:0px 0px 0px 0px
  }
  .vid_62qmzoww27{
      padding-top:8px;
      padding-right:24px;
      padding-bottom:16px;
      padding-left:24px;
      background-color:#FFFFFF
  }
  .vid_ozsfdqofi2{
      width:100%;
      display:flex;
      flex-direction:row;
      justify-content:flex-end;
      flex-wrap:undefined
  }
  .vid_qmenr57old{
      margin-right:16px;
      margin-left:16px;
      border-style:solid;
      border-width:1px;
      border-color:#3875FF
  }
  .vid_eafpxm3q82{
      background-color:#3875FF;
      border-style:solid;
      border-width:1px;
      border-color:#3875FF
  }
  .vid_bbzq0galb3{
      margin-bottom:0px
  }
  .vid_hjfar9hawx{
      width:100%
  }
  .vid_x2rxfdv73k{
      margin-left:24px;
      background-color:#3875FF
  }
  .vid_w9e87c5ftm{
      margin-left:16px
  }
  .vid_62m701d730{
      box-shadow:0px 0px 0px 0px ;
      border-style:solid;
      border-width:1px;
      border-color:#1890FF
  }
  .vid_g3fq9j1uaa{
      margin-bottom:0px
  }
  .vid_na3ou0s64q{
      box-shadow:0px 0px 0px 0px
  }
  .vid_l2pba449np{
      width:100%;
      height:760px;
      overflow-x:auto;
      overflow-y:auto;
      display:block;
      flex-grow:1;
      flex-shrink:1;
      padding-right:24px;
      padding-left:24px;
      background-color:#FFFFFF;
      box-shadow:0px 0px 0px 0px
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-thead) > tr {
      height: 40px;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-thead) > tr > th {
    background: #3875FF;
    font-size: 14px;
    font-family: arial, helvetica, "microsoft yahei";
    font-weight: 600;
    color: #FFFFFF;
    border-bottom:1px solid #D9D9D9;
    padding: 8px 16px;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr:not(:last-child) > th {
    border-bottom:1px solid #D9D9D9;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr > th {
    border-right:1px solid #D9D9D9;
  }
  /* 将表格自带的左边框取消，方便设置表头边框颜色和内容边框颜色 */
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container {
    border-left: none;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr > th[colstart='0']:first-child {
    border-left:1px solid #D9D9D9;
  }
  /* 开启粘性表头后，表格结构会发生变化 需另外处理 */
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-header table {
    border-top:1px solid #D9D9D9;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container > .@{ant-prefix}-table-content > table {
    border-top:1px solid #D9D9D9;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-thead) > tr > th:not(:last-child):not(.@{ant-prefix}-table-selection-column):not(.@{ant-prefix}-table-row-expand-icon-cell):not([colspan])::before {
      background: #D9D9D9;
      width: 1px;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-cell-scrollbar) {
      box-shadow: none;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-tbody) tr {
    height: 40px;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-tbody) tr > td {
    font-size: 14px;
    font-family: arial, helvetica, "microsoft yahei";
    font-weight: 400;
    color: #262626;
    border-bottom:1px solid #D9D9D9;
    padding: 0 16px;
    word-break: break-all;
    .cell-wrapper {
      padding: 0 16px;
    }
  }

  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-tbody) tr > td .cell-wrapper {
    padding: 0 16px;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-empty .@{ant-prefix}-table-tbody tr > td) {
    padding: 0;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-tbody) tr > td .@{ant-prefix}-btn {
    padding: 0 30px 0 0;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table-tbody) tr > td .@{ant-prefix}-btn:last-child {
    padding: 0;
  }
  .vid_wd2r1saxfr :deep(.table-striped-odd) td {
    background-color: #FFFFFF;
  }
  .vid_wd2r1saxfr :deep(.table-striped-even) td {
    background-color: #F8FAFC;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-tbody tr > td {
    border-right:1px solid #D9D9D9;
  }
  .vid_wd2r1saxfr :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-tbody tr > td:first-child {
    border-left:1px solid #D9D9D9;
  }
  .vid_wd2r1saxfr{
      width:100%;
      overflow-x:auto;
      overflow-y:auto
  }
  .vid_wd2r1saxfr:active{
      width:100%
  }
  .vid_wd2r1saxfr:focus{
      width:100%
  }
  .vid_wd2r1saxfr:hover{
      width:100%
  }
  .vid_0i3ebli2z1{
      height:896px;
      overflow-y:auto;
      display:block;
      background-color:#FFFFFF;
      box-shadow:0px 0px 0px 0px ;
      border-right-style:solid;
      border-right-width:1px;
      border-right-color:#D9D9D9
  }
  .vid_ef03xkrkgh{
      padding-top:8px;
      padding-right:24px;
      padding-bottom:16px
  }
  .vid_ja4nmzygrg{
      width:100%;
      border-style:solid;
      border-width:1px;
      border-color:#D9D9D9;
      border-radius:2px
  }
  .vid_suuil4h48d :deep(span) {
        color: undefined;
      }
  .vid_suuil4h48d{
      width:100%
  }
  .vid_spw6r77wtp{
      height:100%;
      display:block
  }
  .vid_oq7irv2rjs{
      width:100%;
      box-shadow:0px 0px 0px 0px
  }
  .vid_o7wqm5fste{
      padding-top:8px;
      padding-right:24px;
      padding-bottom:16px;
      padding-left:24px;
      background-color:#FFFFFF
  }
  .vid_x3mrpoh5iz{
      margin-bottom:0px
  }
  .vid_ffg8o0dcja{
      width:100%
  }
  .vid_2l6v2ft5ct{
      margin-left:24px;
      background-color:#3875FF
  }
  .vid_sh3hvfv5bp{
      margin-left:16px
  }
  .vid_283mdstx5n{
      margin-bottom:0px
  }
  .vid_86hsdv5ip4{
      width:100%;
      height:760px;
      overflow-x:auto;
      overflow-y:auto;
      display:block;
      padding-right:24px;
      padding-left:24px;
      background-color:#FFFFFF;
      box-shadow:0px 0px 0px 0px
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-thead) > tr {
      height: 40px;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-thead) > tr > th {
    background: #3875FF;
    font-size: 14px;
    font-family: arial, helvetica, "microsoft yahei";
    font-weight: 600;
    color: #FFFFFF;
    border-bottom:1px solid #D9D9D9;
    padding: 8px 16px;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr:not(:last-child) > th {
    border-bottom:1px solid #D9D9D9;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr > th {
    border-right:1px solid #D9D9D9;
  }
  /* 将表格自带的左边框取消，方便设置表头边框颜色和内容边框颜色 */
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container {
    border-left: none;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr > th[colstart='0']:first-child {
    border-left:1px solid #D9D9D9;
  }
  /* 开启粘性表头后，表格结构会发生变化 需另外处理 */
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-header table {
    border-top:1px solid #D9D9D9;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container > .@{ant-prefix}-table-content > table {
    border-top:1px solid #D9D9D9;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-thead) > tr > th:not(:last-child):not(.@{ant-prefix}-table-selection-column):not(.@{ant-prefix}-table-row-expand-icon-cell):not([colspan])::before {
      background: #D9D9D9;
      width: 1px;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-cell-scrollbar) {
      box-shadow: none;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-tbody) tr {
    height: 40px;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-tbody) tr > td {
    font-size: 14px;
    font-family: arial, helvetica, "microsoft yahei";
    font-weight: 400;
    color: #262626;
    border-bottom:1px solid #D9D9D9;
    padding: 0 16px;
    word-break: break-all;
    .cell-wrapper {
      padding: 0 16px;
    }
  }

  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-tbody) tr > td .cell-wrapper {
    padding: 0 16px;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-empty .@{ant-prefix}-table-tbody tr > td) {
    padding: 0;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-tbody) tr > td .@{ant-prefix}-btn {
    padding: 0 30px 0 0;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table-tbody) tr > td .@{ant-prefix}-btn:last-child {
    padding: 0;
  }
  .vid_4opoeq0k2i :deep(.table-striped-odd) td {
    background-color: #FFFFFF;
  }
  .vid_4opoeq0k2i :deep(.table-striped-even) td {
    background-color: #F8FAFC;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-tbody tr > td {
    border-right:1px solid #D9D9D9;
  }
  .vid_4opoeq0k2i :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-tbody tr > td:first-child {
    border-left:1px solid #D9D9D9;
  }
  .vid_4opoeq0k2i{
      width:100%;
      overflow-x:auto;
      overflow-y:auto
  }
  .vid_4opoeq0k2i:active{
      width:100%
  }
  .vid_4opoeq0k2i:focus{
      width:100%
  }
  .vid_4opoeq0k2i:hover{
      width:100%
  }
  .vid_pt8gnmhpop{
      height:896px;
      overflow-y:auto;
      display:block;
      background-color:#FFFFFF;
      box-shadow:0px 0px 0px 0px ;
      border-right-style:solid;
      border-right-width:1px;
      border-right-color:#D9D9D9
  }
  .vid_lzkca7qnvh{
      padding-top:8px;
      padding-right:24px
  }
  .vid_nbb1aplepq{
      width:100%;
      border-style:solid;
      border-width:1px;
      border-color:#D9D9D9;
      border-radius:2px
  }
  .vid_uipgvga3ze{
      margin-top:12px
  }
  .vid_h44ml6bbeu :deep(span) {
        color: undefined;
      }
  .vid_h44ml6bbeu{
      padding-right:24px
  }

  :deep(.@{ant-prefix}-table-empty .@{ant-prefix}-table-tbody tr > td) {
   padding: 0;
  }
</style>